- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Here is my issue : I have trained a TF2 model on the InceptionResNetV2 topology and converted it to the usual .xml and .bin file with the Model Optimizer included in OpenVino. So far no issue
"[ SUCCESS ] Generated IR version 10 model.
[ SUCCESS ] XML file: /home/wm/docker/Cortex2/age_auto/output_model/model_age.xml
[ SUCCESS ] BIN file: /home/wm/docker/Cortex2/age_auto/output_model/model_age.bin
[ SUCCESS ] Total execution time: 67.71 seconds.
[ SUCCESS ] Memory consumed: 1698 MB. "
When I try to load this model I have the following error : "ERR MOVIDIUS EXCEPTION The support of IR v6 has been removed from the product. Please, convert the original model using the Model Optimizer which comes with this version of the OpenVino to generate supported IR version."
Issue is : I have converted the model and try to execute it from a container made with this same docker image: openvino/ubuntu18_dev with the tag latest... I trust he should agree with himself so I don't understand my mistake.
Could someone give a hand please ?
Best,
Greg
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know what data type that you had used when converting the model? did you specify FP16?
By default (without any definition) the model would be converted into FP32.
If you are trying to use that model with NCS2 you will need the converted model in FP16 format.
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Iffa,
Thank you for your answer.
Yes I specified FP32 when I converted the model. I'll try tonight with FP16 format and let you know.
Best regards,
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Noted.
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Iffa,
It didn't change anything. I optimized the tensorflow's .pb with this command :
"python3 deployment_tools/model_optimizer/mo_tf.py --input_model /home/wm/docker/Cortex2/age_auto/output_model/model_age.pb --output_dir /home/wm/docker/Cortex2/age_auto/output_model/ --b 5 --data_type FP16 -s 255 --reverse_input_channels"
When I try to load the models here is the error :
"ERR MOVIDIUS EXCEPTION The support of IR v6 has been removed from the product. Please, convert the original model using the Model Optimizer which comes with this version of the OpenVINO to generate supported IR version."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which OpenVINO version you are currently using?
It is recommended for you to use the latest version 2021.4, Please help to convert using the model optimizer from this version.
If you are using an outdated version, the biggest chance is there are something that already been deprecated.
Plus, for affirmation, ensure that you are using NCS2 and not the older compute stick:
https://software.intel.com/content/www/us/en/develop/hardware/neural-compute-stick.html
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Iffa,
As mentioned in the first post I'm using the docker image from your docker hub, the version inside is 2021.4.258
I'm also very certain I'm using the NCS2, I never got the first version.
Regards,
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Btw, if possible can you share/attach here your model files?
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Iffa,
I'd rather not share publicly the models, but if you have an email I can send you a download link. Else you can ping me on gaudibert@winter-mushroom.com.
Best regards,
Grégoire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fyi I had sent an email to the given address.
Sincerely,
Iffa
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page