smart-video-workshop icon indicating copy to clipboard operation
smart-video-workshop copied to clipboard

Issue running tutoriall1.py

Open vsanz opened this issue 5 years ago • 2 comments

Hello,

I am trying to reproduce the first tutorial in object detection. I get to the point of running

sudo python3 tutorial1.py -i $SV/object-detection/Cars\ -\ 1900.mp4 -m $SV/object-detection/mobilenet-ssd/FP32/mobilenet-ssd.xml

and get an error: ModuleNotFoundError: No module named 'openvino'

In line 25 of tutoriall1.py there is a 'from openvino.inference_engine ...' command which is not recognised. I have OpenVINO running in my mac and I had initialised the openvino variables.

Could you help me with this?

Thank you,

Veronica.

vsanz avatar Mar 17 '20 08:03 vsanz

it seems like you have a path issue, ie not being able to find openvino module. You can co'nfirm this by just opening python at a command prompt eg $ python3, and then typing "import openvino" at the >>> prompt. To fix this, try looking for the installed python3 version, (its printed out when you run Python3> and run the "source /opt/intel/openvino/bin/setupvars.sh -pyver 3.x" command with the version you have installed. If that doesn't fix it, then look at $PYTHONPATH, and make sure the OpenVINO module path is included.

IoTman avatar Mar 21 '20 00:03 IoTman

Do you have OpenVINO installed (e.g. from software.intel.com), installed for use with ROOT or with your current user?

Can you double-check whether OpenVINO is working by using some of the contained samples from the OpenVINO installation folder, please?

brmarkus avatar Mar 23 '20 07:03 brmarkus