Slide 42
Slide 42 text
Core MLϞσϧม͢Δ
import tfcoreml
input_shapes = {"Preprocessor/sub:0":[1,300,300,3]}
output_tensor_names = ['Squeeze:0', 'concat_1:0']
mlmodel = tfcoreml.convert(
tf_model_path = tf_model_path,
mlmodel_path = ml_model_path,
input_name_shape_dict = in_shapes,
output_feature_names = out_names,
image_input_names = image_in_names)