SDEdit icon indicating copy to clipboard operation
SDEdit copied to clipboard

HTTP Error Occurs When Downloading Process Data

Open BlueCat-de opened this issue 1 year ago • 7 comments

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

BlueCat-de avatar Dec 11 '23 02:12 BlueCat-de

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

Powerofev1l avatar Mar 01 '24 08:03 Powerofev1l

the same problem

wthu12138 avatar Mar 03 '24 17:03 wthu12138

me too

sunmoumou1 avatar Apr 30 '24 13:04 sunmoumou1

same problem

hotpot-killer avatar Jun 04 '24 10:06 hotpot-killer

same problem

jzhangCSER01 avatar Jul 04 '24 02:07 jzhangCSER01

same problem

BUAACY avatar Aug 07 '24 13:08 BUAACY