- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've installed OpenVINO Toolkit on my PC and gone through all the steps without any trouble until I got to "Use Verification Scripts to Verify Your Installation"
I am getting the following error when I run the first demo: > demo_squeezenet_download_convert_run.bat
Model Optimizer arguments:
Common parameters:
- Path to the Input Model: C:\Users\P320 Tiny\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1/squeezenet1.1.caffemodel
- Path for generated IR: C:\Users\P320 Tiny\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16
- IR output name: squeezenet1.1
- Log level: ERROR
- Batch: Not specified, inherited from the model
- Input layers: data
- Output layers: prob
- Input shapes: [1,3,227,227]
- Mean values: data[104.0,117.0,123.0]
- Scale values: Not specified
- Scale factor: Not specified
- Precision of IR: FP16
- Enable fusing: True
- Enable grouped convolutions fusing: True
- Move mean values to preprocess section: False
- Reverse input channels: False
Caffe specific parameters:
- Path to Python Caffe* parser generated from caffe.proto: C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\front\caffe\proto
- Enable resnet optimization: True
- Path to the Input prototxt: C:\Users\P320 Tiny\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1/squeezenet1.1.prototxt
- Path to CustomLayersMapping.xml: C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\extensions\front\caffe\CustomLayersMapping.xml
- Path to a mean file: Not specified
- Offsets for a mean file: Not specified
Model Optimizer version: 2020.1.0-61-gd349c3ba4a
[ ERROR ] -------------------------------------------------
[ ERROR ] ----------------- INTERNAL ERROR ----------------
[ ERROR ] Unexpected exception happened.
[ ERROR ] Please contact Model Optimizer developers and forward the following information:
[ ERROR ] DLL load failed: The specified procedure could not be found.
[ ERROR ] Traceback (most recent call last):
File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\main.py", line 314, in main
return driver(argv)
File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\main.py", line 281, in driver
ret_res = emit_ir(prepare_ir(argv), argv)
File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\main.py", line 228, in prepare_ir
import mo.pipeline.caffe as mo_caffe
File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\pipeline\caffe.py", line 18, in <module>
from mo.front.caffe import custom_layers_mapping, loader
File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\front\caffe\loader.py", line 24, in <module>
from google.protobuf import text_format
File "C:\Users\P320 Tiny\AppData\Roaming\Python\Python36\site-packages\google\protobuf\text_format.py", line 54, in <module>
from google.protobuf.internal import type_checkers
File "C:\Users\P320 Tiny\AppData\Roaming\Python\Python36\site-packages\google\protobuf\internal\type_checkers.py", line 55, in <module>
from google.protobuf.internal import decoder
File "C:\Users\P320 Tiny\AppData\Roaming\Python\Python36\site-packages\google\protobuf\internal\decoder.py", line 90, in <module>
from google.protobuf.internal import encoder
File "C:\Users\P320 Tiny\AppData\Roaming\Python\Python36\site-packages\google\protobuf\internal\encoder.py", line 73, in <module>
from google.protobuf.internal import wire_format
File "C:\Users\P320 Tiny\AppData\Roaming\Python\Python36\site-packages\google\protobuf\internal\wire_format.py", line 36, in <module>
from google.protobuf import descriptor
File "C:\Users\P320 Tiny\AppData\Roaming\Python\Python36\site-packages\google\protobuf\descriptor.py", line 47, in <module>
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified procedure could not be found.
[ ERROR ] ---------------- END OF BUG REPORT --------------
[ ERROR ] -------------------------------------------------
FAILED:
squeezenet1.1
Error
How do I solve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Poorvi,
This is a protobuf error. Did you install the prerequisites before running the demo?
If you have and are still getting the error, uninstall all previous versions of protobuf to avoid any other errors, then downgrade to version 3.6.0.
sudo pip3 uninstall -y protobuf sudo apt-get purge --remove libprotobuf*
Make sure there are no other versions installed:
pip3 show protobuf
Then install version 3.6.0
pip install protobuf==3.6.0
I hope this information is helpful.
Best Regards,
Sahira
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Poorvi,
This is a protobuf error. Did you install the prerequisites before running the demo?
If you have and are still getting the error, uninstall all previous versions of protobuf to avoid any other errors, then downgrade to version 3.6.0.
sudo pip3 uninstall -y protobuf sudo apt-get purge --remove libprotobuf*
Make sure there are no other versions installed:
pip3 show protobuf
Then install version 3.6.0
pip install protobuf==3.6.0
I hope this information is helpful.
Best Regards,
Sahira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was it. Thanks!

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