Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5762 Discussions

ModuleNotFoundError: No module named 'models'

Calincan
Novice
515 Views

By Running the # Object Detection Python\* Demo after moving complete folder from initial location (/opt/intel/openvino_2021/deployment_tools/inference_engine/demos/python_demos/object_detection_demo/object_detection_demo.py) => and running the script everything works perfect 

 

By Running the # Object Detection Python\* Demo after moving complete folder from initial location (/opt/intel/openvino_2021/deployment_tools/inference_engine/demos/python_demos/object_detection_demo/object_detection_demo.py) on other location (/home/mircea/projects/object_detection_demo/object_detection_demo.py)  and running the script I'm getting  this error: 

import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
File "/home/mircea/projects/object_detection_demo/object_detection_demo.py", line 32, in <module>
from models import *
ModuleNotFoundError: No module named 'models'

 

0 Kudos
1 Solution
Calincan
Novice
510 Views

I find it out were were saved right after posting the question,

Thanks for help !  

 

So all Missing scripts which caused the error in this case can be found in : 

/opt/intel/openvino_2021/deployment_tools/inference_engine/demos/python_demos/common

View solution in original post

1 Reply
Calincan
Novice
511 Views

I find it out were were saved right after posting the question,

Thanks for help !  

 

So all Missing scripts which caused the error in this case can be found in : 

/opt/intel/openvino_2021/deployment_tools/inference_engine/demos/python_demos/common

Reply