Skip to content

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

Open
@valmetisrinivas

Description

@valmetisrinivas

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-

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions