Skip to content

ValueError: Trying to set a tensor of shape torch.Size([1280]) in "class_embedding" (which has shape torch.Size([768])), this looks incorrect. #9

@chengshuai1992

Description

@chengshuai1992

Hi, when I run cd diffusers/examples/world_model python inference/img2video.py .
The error occurred: ValueError: Trying to set a tensor of shape torch.Size([1280]) in "class_embedding" (which has shape torch.Size([768])), this looks incorrect.
The pretrained model in the Hugging Face is incorrect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions