Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

Model Optimizer Convert Faster RCN NAS COCO Model Error

Sack__Benjamin
Beginner
2,099 Views

Model: http://download.tensorflow.org/models/object_detection/faster_rcnn_nas_coco_2018_01_28.tar.gz

Command: 

python3 mo_tf.py 
--input_model /home/benjamins/Downloads/faster_rcnn_nas_coco_2018_01_28/frozen_inference_graph.pb 
--model_name Person_Detection 
--output_dir /home/benjamins/Desktop/Models/Out/
 --reverse_input_channels 
--tensorflow_object_detection_api_pipeline_config /home/benjamins/Downloads/faster_rcnn_nas_coco_2018_01_28/pipeline.config 
--tensorflow_use_custom_operations_config/opt/intel/computer_vision_sdk_2018.5.445/deployment_tools/model_optimizer/extensions/front/tf/faster_rcnn_support.json

 

 

Error:

[ ERROR ]  Cannot infer shapes or values for node "SecondStageFeatureExtractor/cell_12/strided_slice".
[ ERROR ]  
[ ERROR ]  
[ ERROR ]  It can happen due to bug in custom shape infer function <function tf_strided_slice_infer at 0x7f43633ab048>.
[ ERROR ]  Or because the node inputs have incorrect values/shapes.
[ ERROR ]  Or because input shapes are incorrect (embedded to the model or passed via --input_shape).
[ ERROR ]  Run Model Optimizer with --log_level=DEBUG for more information.
[ ERROR ]  Stopped shape/value propagation at "SecondStageFeatureExtractor/cell_12/strided_slice" node. 

Converting the Tensorflow Model with the Model Optimizer is not working

0 Kudos
21 Replies
Shubha_R_Intel
Employee
258 Views

Dear De Boer, Ronald,

Thanks for reporting back to the OpenVino community. Wonderful to hear !

Shubha

 

0 Kudos
Reply