cloneofsimo / paint-with-words-sd

Implementation of Paint-with-words with Stable Diffusion : method from eDiff-I that let you generate image from text-labeled segmentation map.
MIT License
636 stars 50 forks source link

Only exception after runner.py #8

Open DoctorMG opened 2 years ago

DoctorMG commented 2 years ago

OS: Win10, no CUDA 1) Token (type: read) was set 2) file ".env" available 3) runner.py was startet (unchanged), just being curious what happens

Result: only a cascade of exceptions on the command line, as following:

Traceback (most recent call last): File "E:\Programme\Anaconda3\envs\apps\lib\site-packages\huggingface_hub\utils_errors.py", line 213, in hf_raise_for_status response.raise_for_status() File "E:\Programme\Anaconda3\envs\apps\lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/CompVis/stable-diffusion-v1-4/resolve/main/vae/diffusion_pytorch_model.bin

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "E:\Programme\Anaconda3\envs\apps\lib\site-packages\diffusers\modeling_utils.py", line 394, in from_pretrained model_file = hf_hub_download( File "E:\Programme\Anaconda3\envs\apps\lib\site-packages\huggingface_hub\file_download.py", line 1053, in hf_hub_download metadata = get_hf_file_metadata( File "E:\Programme\Anaconda3\envs\apps\lib\site-packages\huggingface_hub\file_download.py", line 1359, in get_hf_file_metadata hf_raise_for_status(r) File "E:\Programme\Anaconda3\envs\apps\lib\site-packages\huggingface_hub\utils_errors.py", line 254, in hf_raise_for_status raise HfHubHTTPError(str(HTTPError), response=response) from e huggingface_hub.utils._errors.HfHubHTTPError: <class 'requests.exceptions.HTTPError'> (Request ID: iJKkSfoiLnBa4bMVHLKZ2)

shreydan commented 2 years ago

the error is 403 Client Error: Forbidden for url. To fix this go to CompVis/stable-diffusion-v1-4 and accept the model license agreement and then it'll work

cloneofsimo commented 2 years ago

@DoctorMG did this work? Ill close this issue if so.