Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Error Occurs When Downloading Process Data #28

Open
BlueCat-de opened this issue Dec 11, 2023 · 6 comments
Open

HTTP Error Occurs When Downloading Process Data #28

BlueCat-de opened this issue Dec 11, 2023 · 6 comments

Comments

@BlueCat-de
Copy link

It seems that the url for processed data is no longer usable:

ERROR - main.py - 2023-12-11 10:45:23,843 - Traceback (most recent call last):
File "/home/chenqm/projects/cross-domain-trajectory-editing-private/SDEdit/main.py", line 104, in main
runner.image_editing_sample()
File "/home/chenqm/projects/cross-domain-trajectory-editing-private/SDEdit/runners/image_editing.py", line 102, in image_editing_sample
download_process_data(path="colab_demo")
File "/home/chenqm/projects/cross-domain-trajectory-editing-private/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 "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/site-packages/torch/hub.py", line 621, in download_url_to_file
u = urlopen(req)
File "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/home/chenqm/anaconda3/envs/jax_diffuser/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

image

@Powerofev1l
Copy link

i met the same problem with u,have u solved it?

@wthu12138
Copy link

the same problem

@sunmoumou1
Copy link

me too

@zhenhua22
Copy link

same problem

2 similar comments
@jzhangCSER01
Copy link

same problem

@BUAACY
Copy link

BUAACY commented Aug 7, 2024

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants