2017-12-07 14 views
-1
$ bazel-bin/tensorflow/contrib/lite/toco/toco  --input_file=resnet_v2_152/model.pb  --input_format=TENSORFLOW_GRAPHDEF --output_format=TFLITE  --output_file=resnet_v2_152/model.tflite  --inference_type=FLOAT --input_type=FLOAT --input_arrays=input  --output_arrays=resnet_v2_152/predictions/Reshape_1 --input_shapes=1,224,224,3 
====================================================== 
2017-12-07 21:53:10.782352: W tensorflow/contrib/lite/toco/toco_cmdline_flags.cc:177] --input_type is deprecated. Use --inference_input_type. 
2017-12-07 21:53:11.357279: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 2003 operators, 2977 arrays (0 quantized) 
2017-12-07 21:53:11.745847: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 319 operators, 739 arrays (0 quantized) 
2017-12-07 21:53:11.749607: I tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 319 operators, 739 arrays (0 quantized) 
2017-12-07 21:53:11.751028: I tensorflow/contrib/lite/toco/allocate_transient_arrays.cc:312] Total transient array allocated size: 11239424 bytes, theoretical optimal value: 9633792 bytes. 
2017-12-07 21:53:11.752708: I tensorflow/contrib/lite/toco/toco_tooling.cc:264] Estimated count of arithmetic ops: 21.8689 billion (note that a multiply-add is counted as 2 ops). 
2017-12-07 21:53:11.753937: F tensorflow/contrib/lite/toco/tflite/export.cc:192] Unsupported operator: Pad 
Aborted (core dumped) 

답변

0

Pad은 아직 TensorFlow Lite에서 지원되지 않습니다. 팀은 이제 더 많은 작업 (Pad 포함)을 지원하기 위해 노력하고 있습니다. 바라건대 그것은 가까운 미래에 작동합니다.

현재 작업 호환성을 보려면 this doc을 참조하십시오.