- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dev@devs:/opt/intel/openvino_2020.4.287/deployment_tools/ open_model_zoo/demos/python_ demos/monodepth_demo$ python monodepth_demo.py
Traceback (most recent call last):
File "monodepth_demo.py", line 8, in <module>
from openvino.inference_engine import IECore
File "/opt/intel/openvino_2020.4.287/python/python3.6/openvino/ inference_engine/__init__.py", line 1, in <module>
from .ie_api import *
ImportError: dynamic module does not define init function (initie_api)
dev@devs:/opt/intel/openvino_2020.4.287/deployment_tools/ open_model_zoo/demos/python_ demos/monodepth_demo$ sudo python monodepth_demo.py
Traceback (most recent call last):
File "monodepth_demo.py", line 8, in <module>
from openvino.inference_engine import IECore
ImportError: No module named openvino.inference_engine
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found a workaround here (Thanks to @raymondlo84 for pointing this out): https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/New-3D-human-pose-estimation-demo/m-p/1183637
However, this leads to another issue as well, for the monodepth_demo:
dev@devs:/opt/intel/openvino_2020.4.287/deployment_tools/open_model_zoo/demos/python_demos/monodepth_demo$ python monodepth_demo.py
Traceback (most recent call last):
File "monodepth_demo.py", line 8, in <module>
from openvino.inference_engine import IECore
File "/opt/intel/openvino_2020.4.287/python/python3.6/openvino/inference_engine/__init__.py", line 1, in <module>
from .ie_api import *
ImportError: dynamic module does not define init function (initie_api)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
you need to load your model in the command.
Notice that if you type in command python3 monodepth_demo.py -h, you can see a list of command that can be used with this.
python3 monodepth_demo.py -m (your model) -i(your input) -l(cpu extension,this is optional) -d(device:cpu,gpu,etc)
These can be found on the official documentation: https://docs.openvinotoolkit.org/2020.4/omz_demos_python_demos_monodepth_demo_README.html
Sincerely,
Iffa
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Could you please give a direction as to where I could access a pre-trained model for trying the demo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
note, since the time you were looking at OpenVINO 2020.4, we have released the next version, OpenVINO 2021.1. It might make sense you to focus on the latest available OpenVINO release to get access to the latest optimizations and improvements.
Regarding your question, we provide Open Model Zoo as a component of OpenVINO product (and it also is available on github), it is collection of pre-trained models and associated demo applications which has been validated to work with corresponding OpenVINO release.
Please find set of pre-trained Intel and public models (including midasnet monodepth model) in OpenVINO online documentation.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
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