- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have .pb model file, now how can I generate config and json file so that I can convert it to xml and bin file. I am using below command.
python3 mo_tf.py --input_model=model.pb --transformations_config *** --tensorflow_object_detection_api_pipeline_config **** --reverse_input_channels
Thanks in advance
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
Please follow the steps for freezing the custom model and then Convert Tensorflow model to IR.
Best Regards,
Surya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Surya,
I am already following the link you mentioned. Actually example models can be successfully converted to xml using above command but problem is with custom model for that I don't have json and config file. Without these files I cannot optimize my tf object detection model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul,
OpenVINO provides .json files for some standard models which you may refer to generate your own .json file. You may find the .json files at the below directory in windows.
C:\Program Files (x86)\IntelSWTools\openvino_2020.1.033\deployment_tools\model_optimizer\extensions\front\tf
Best Regards,
Surya
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page