huggingface / huggingface/course
Diffusion Course Unit 1: An Introduction to Diffusion Models
- Dominant language
- MDX
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 13m
- Merged PRs (30d)
- 1
Description
I am going through the course. When I am executing the below code cell from [the notebook Introduction to Diffusers using Kaggle](https://www.kaggle.com/code/valmetisrinivas/notebook006d016869/edit), 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 to ask the question. However, the HF 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](https://huggingface.co/learn/diffusion-course/unit0/1)

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]
class-butterflies-32-VS/snapshots/c15f67e737261549b7e8b1fa66f66164a3bde817.
```
> OSError: Error no file named diffusion_pytorch_model.bin found in directory /root/.cache/huggingface/hub/models--vsrinivas--sd-
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.