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.

Error in Loading Pre-Trained Models

Bll__Samed
Beginner
1,433 Views

Hello. I get an error in downloader.py when downloading models. 

 

samed@SamedBll:/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader$ python downloader.py --name human-pose-estimation-0001
  File "downloader.py", line 61
    reporter.print("Will retry in {} seconds...", retry_delay, flush=True)
                 ^
SyntaxError: invalid syntax

#I just want to change the Python version.

samed@SamedBll:/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader$ python3 downloader.py --name human-pose-estimation-0001
Traceback (most recent call last):
  File "downloader.py", line 22, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
samed@SamedBll:/opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader$ 

I'm open to your suggestions. Thank you.

0 Kudos
1 Solution
Bll__Samed
Beginner
1,433 Views

I downloaded the requests module but it didn't work in the default python version. I checked of the Requests module on all version Python. Worked on Python3.6. 

sudo python3.6 downloader.py --name human-pose-estimation-0001

is worked.

Problem is solved.

View solution in original post

1 Reply
Bll__Samed
Beginner
1,434 Views

I downloaded the requests module but it didn't work in the default python version. I checked of the Requests module on all version Python. Worked on Python3.6. 

sudo python3.6 downloader.py --name human-pose-estimation-0001

is worked.

Problem is solved.

Reply