Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diffusion Course Unit 1: An Introduction to Diffusion Models #766

Open
valmetisrinivas opened this issue Dec 18, 2024 · 0 comments
Open

Comments

@valmetisrinivas
Copy link

valmetisrinivas commented Dec 18, 2024

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 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
image
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-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant