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.
6367 Discussions

Error while trying to convert custom trained Tensorflow SSD Mobilenet V2 model to IR format.

New Contributor I


I am not able to convert my custom trained model to IR format. I have installed the Openvino 2020.1 version in linux 18.04 LTS system.

Following are the links that I reffered to install Openvino and conversion process.

This is the error I am facing,

[ ERROR ]  Failed to convert tokens to dictionary: Wrong character "Set" in position 7
[ ERROR ]  Failed to generate dictionary representation of file.
[ ANALYSIS INFO ]  Your model looks like TensorFlow Object Detection API Model.
Check if all parameters are specified:
    --input_shape (optional)
    --reverse_input_channels (if you convert a model to use with the Inference Engine sample applications)
Detailed information about conversion of this model can be found at
[ ERROR ]  Exception occurred during running replacer "ObjectDetectionAPIPreprocessorReplacement" (<class ''>): Failed to parse pipeline.config file /home/labuser/Openvino_conversion/ssd_mobilenet_v2_coco.config

I have attached the complete log with the post. PFA.

Note: I am able to successfully convert Pre-Trained Zoo model, by changing the input prameters for the file.

0 Kudos
1 Reply

Hi Dilip,

Which version of Tensorflow are you using?

Can you mention the model optimizer command used to convert the model?

Can you share the model and necessary files to reproduce the issue from our end? If required, I can send you a Private Message to share the files privately.




0 Kudos