Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bll__Samed
Beginner
183 Views

Error in Loading Pre-Trained Models

Jump to solution

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
183 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
184 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

Reply