Skip to content

Tensor mismatch error during validation #1

@znavidi

Description

@znavidi

Thank you for your tool and provided code. I tried to train pDiff on sample data based on provided documentation on the repo, and it raised the following error during validation:
ValueError: Trying to set a tensor of shape torch.Size([77, 768]) in "weight" (which has shape torch.Size([77, 1024])), this look incorrect.

I used the same SD version indicated in the documentation (stable-diffusion-v1-5) for VAE and text encoder.
Would appreciate any guidance to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions