SDEdit
SDEdit copied to clipboard
urllib.error.HTTPError: HTTP Error 403: Forbidden
Hi, we cannot download the lsun_bedroom1.pth
using the official command python main.py --exp ./runs/ --config bedroom.yml --sample -i images --npy_name lsun_bedroom1 --sample_step 3 --t 500 --ni
. How could we fix this error? The traceback is posted below.
Thank you very much.
File "main.py", line 104, in main
runner.image_editing_sample()
File "/mnt/zff/code/diffusion_model/sdedit/sdedit/runners/image_editing.py", line 113, in image_editing_sample
download_process_data(path="colab_demo")
File "/mnt/zff/code/diffusion_model/sdedit/sdedit/functions/process_data.py", line 8, in download_process_data
torch.hub.download_url_to_file('https://image-editing-test-12345.s3-us-west-2.amazonaws.com/colab_examples/lsun_bedroom1.pth', os.path.join(path, 'lsun_bedroom1.pth'))
File "/miniconda3/envs/t1/lib/python3.8/site-packages/torch/hub.py", line 611, in download_url_to_file
u = urlopen(req)
File "/miniconda3/envs/t1/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/miniconda3/envs/t1/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/miniconda3/envs/t1/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/miniconda3/envs/t1/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/miniconda3/envs/t1/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/miniconda3/envs/t1/lib/python3.8/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
got the same question
me too
got same question
me too
me too
same problem here, has anyone found a solution?
Does anyone solve this problem?