- 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
Dear Patel, Nakuldev
Please use rfcn_support_api_v1.13.json from the attached zip and it will work. By the way I'm on Tensorflow 1.12.
Thanks for your patience !
Shubha
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Patel, Nakuldev,
Indeed the Tensorflow Object Detection APIs underwent a lot of changes lately so several of the *.json under deployment_tools\model_optimizer\mo\front\tf don't work anymore. Can you kindly attach your custom trained frozen.pb and your pipeline config as a zip attachment to this forum ticket ?
I will take care of it promptly.
Thanks,
Shubha
- 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
Dear Patel, Nakuldev,
Thanks ! I have downloaded your zip file and I will investigate your issue.
Sincerely,
Shubha
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Patel, Nakuldev,
For RFCN based object detection, please try the object detection demo (not SSD)
Hope it helps. And I am glad that rfcn_support_api_v1.13.json worked fine for you in the Model Optimizer command.
Thanks,
Shubha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have the same issue as you, my command is
/opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo_tf.py --input_model frozen_inference_graph2017.pb --tensorflow_use_custom_operations_config /home/smc/hongxing/demos/models/rfcn_resnet101_coco_2018_01_28/tf_obj_det_jsons2/rfcn_support_api_v1.10.json --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --data_type=FP32 --input_shape=[1,600,600,3]
and got the ERROR info:
[ ERROR ] Exception occurred during running replacer "ObjectDetectionAPIDetectionOutputReplacement" (<class 'extensions.front.tf.ObjectDetectionAPI.ObjectDetectionAPIDetectionOutputReplacement'>): Found the following nodes '[]' with name 'proposals' but there should be exactly 1. Looks like ObjectDetectionAPIProposalReplacement replacement didn't work.
Process finished with exit code 1
Could you please help me the solve this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I got the similar issue as you , when I optimized my RFCN model with the mo_tf.py
/opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo_tf.py --input_model frozen_inference_graph2017.pb --tensorflow_use_custom_operations_config /home/smc/hongxing/demos/models/rfcn_resnet101_coco_2018_01_28/tf_obj_det_jsons2/rfcn_support_api_v1.13.json --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --data_type=FP32 --input_shape=[1,600,600,3]
I got this:
[ ERROR ] Exception occurred during running replacer "ObjectDetectionAPIDetectionOutputReplacement" (<class 'extensions.front.tf.ObjectDetectionAPI.ObjectDetectionAPIDetectionOutputReplacement'>): Found the following nodes '[]' with name 'proposals' but there should be exactly 1. Looks like ObjectDetectionAPIProposalReplacement replacement didn't work.
Process finished with exit code 1
Could you please help me solve this problem? Thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear King, Hesper
That error looks like you may not be on the latest and greatest OpenVino 2019R2.01. Have you upgraded ?
Please upgrade and try again. There is also a rfcn_support_api_v1.14.json in the 2.01 package which you haven't tried. It's kind of unfortunate to try every single one but the correct version number matches up with the Tensorflow API version which was used to freeze the model. This document explains it but unfortunately, it's a bit out of date. There is a bug filed to update it.
Hope it helps,
Shubha

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