404 Client Error: Not Found for url: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/diffusion_pytorch_model.bin

#6
by ZeroCool22 - opened

Caching latents: 100%|████████████████████████████████████████████████████████████████| 100/100 [00:25<00:00, 3.98it/s]Steps: : 3090it [1:31:46, 1.75s/it, loss=0.0682, lr=5e-6]Traceback (most recent call last):
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py", line 213, in hf_raise_for_status
response.raise_for_status()
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/diffusion_pytorch_model.bin

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

Traceback (most recent call last):
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/diffusers/modeling_utils.py", line 323, in from_pretrained
model_file = hf_hub_download(
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1053, in hf_hub_download
metadata = get_hf_file_metadata(
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1359, in get_hf_file_metadata
hf_raise_for_status(r)
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/huggingface_hub/utils/_errors.py", line 231, in hf_raise_for_status
raise EntryNotFoundError(message, response) from e
huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error. (Request ID: HLPLwhninRbyKoTJt0Omq)

Entry Not Found for url: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/diffusion_pytorch_model.bin.
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/zerocool/github/diffusers/examples/dreambooth/train_dreambooth.py", line 750, in
main()
File "/home/zerocool/github/diffusers/examples/dreambooth/train_dreambooth.py", line 744, in main
save_weights(global_step)
File "/home/zerocool/github/diffusers/examples/dreambooth/train_dreambooth.py", line 632, in save_weights
vae=AutoencoderKL.from_pretrained(args.pretrained_vae_name_or_path or args.pretrained_model_name_or_path, use_auth_token=True),
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/diffusers/modeling_utils.py", line 351, in from_pretrained
raise EnvironmentError(
OSError: runwayml/stable-diffusion-v1-5 does not appear to have a file named diffusion_pytorch_model.bin.
Steps: : 3090it [1:31:48, 1.78s/it, loss=0.0682, lr=5e-6]
Traceback (most recent call last):
File "/home/zerocool/anaconda3/envs/diffusers/bin/accelerate", line 8, in
sys.exit(main())
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/home/zerocool/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/launch.py", line 354, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/zerocool/anaconda3/envs/diffusers/bin/python', 'train_dreambooth.py', '--pretrained_model_name_or_path=runwayml/stable-diffusion-v1-5', '--instance_data_dir=training', '--class_data_dir=classes', '--output_dir=my_model', '--with_prior_preservation', '--prior_loss_weight=1.0', '--instance_prompt=Stn6', '--class_prompt=man', '--resolution=512', '--train_batch_size=1', '--learning_rate=5e-6', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--gradient_accumulation_steps=4', '--gradient_checkpointing', '--use_8bit_adam', '--max_train_steps=3000']' returned non-zero exit status 1.
(diffusers) zerocool@DESKTOP-IFR8E96:~/github/diffusers/examples/dreambooth$

Hey! Could you make sure to have accepted the license of this model repo?
In order to use the v1-5 checkpoint you need to:

Could you try if that helps? :-)

No, that not help, the reason may be is the storage out of space. I empty trash and it's work again.

Sign up or log in to comment