You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VGG-19 cannot be downloaded using the URL to the S3 bucket.
Code
$ python models/download_models.py
Downloading the VGG-19 model
Downloading: "https://s3-us-west-2.amazonaws.com/jcjohns-models/vgg19-d01eb7cb.pth" to /Users/louis/.cache/torch/checkpoints/vgg19-d01eb7cb.pth
Traceback (most recent call last):
File "models/download_models.py", line 10, in <module>
sd = load_url("https://s3-us-west-2.amazonaws.com/jcjohns-models/vgg19-d01eb7cb.pth")
File ".../env/lib/python3.7/site-packages/torch/hub.py", line 492, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File ".../env/lib/python3.7/site-packages/torch/hub.py", line 391, in download_url_to_file
u = urlopen(url)
File ".../env/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File ".../env/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File ".../env/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File ".../env/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File ".../env/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File ".../env/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Issue
VGG-19 cannot be downloaded using the URL to the S3 bucket.
Code
Or using
curl
:The text was updated successfully, but these errors were encountered: