Diffusion Course Unit 1: An Introduction to Diffusion Models

I am going through the course. When I am executing the below code cell from the notebook Introduction to Diffusers using Kaggle, I am getting below indicated error. I am unable to figure out the solution. My HF repository has ‘diffusion_pytorch_model.bin’ file. I tried using use_safetensors = True parameter, tried changing the extension of file to .bin etc., I tried using The discord channels/ messages are not loading up to ask the question; there seems to be some problem with HuggingFace Discord channels Hugging Face Diffusion Models Course - Hugging Face Diffusion Course

Appreciate if someone can help.

from diffusers import DDPMPipeline

image_pipe = DDPMPipeline.from_pretrained(hub_model_id)
pipeline_output = image_pipe()
pipeline_output.images[0]

OSError: Error no file named diffusion_pytorch_model.bin found in directory /root/.cache/huggingface/hub/models--vsrinivas--sd-class-butterflies-32-VS/snapshots/c15f67e737261549b7e8b1fa66f66164a3bde817.

1 Like

I just tried it and it also reproduces on Google Colab.:sweat_smile: You can report a bug below.

1 Like

Thanks. Reported.

1 Like