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

ModuleNotFoundError: No module named 'models'

Calincan
Novice
2,706 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
2,701 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

0 Kudos
1 Reply
Calincan
Novice
2,702 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

0 Kudos
Reply