- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Xia,Linmei
Looks like there is an issue with the --tensorflow_use_custom_operations_config parameter, based on this thread another user had a similar issue converting their custom trained model. What they did was change line #57 of the ssd_support_api_v1.14.json file under /opt/intel/openvino/deployment_tools/model/_optimizer/extensions/front/tf/ directory, from "Postprocessor/Cast" to "Postprocessor/Cast_1".
I was able to convert your model in R3.1 using this approach. Please give it a try and let me know if you have any issues.
python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model files/frozen_inference_graph.pb --tensorflow_use_custom_operations_config /opt/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/ssd_support_api_v1.14.json --output="detection_boxes,detection_scores,num_detections" --tensorflow_object_detection_api_pipeline_config files/pipeline.config --data_type FP16
Regards,
Luis
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Xia,Linmei
Looks like there is an issue with the --tensorflow_use_custom_operations_config parameter, based on this thread another user had a similar issue converting their custom trained model. What they did was change line #57 of the ssd_support_api_v1.14.json file under /opt/intel/openvino/deployment_tools/model/_optimizer/extensions/front/tf/ directory, from "Postprocessor/Cast" to "Postprocessor/Cast_1".
I was able to convert your model in R3.1 using this approach. Please give it a try and let me know if you have any issues.
python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model files/frozen_inference_graph.pb --tensorflow_use_custom_operations_config /opt/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/ssd_support_api_v1.14.json --output="detection_boxes,detection_scores,num_detections" --tensorflow_object_detection_api_pipeline_config files/pipeline.config --data_type FP16
Regards,
Luis

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page