Relative Content

Tag Archive for machine-learningpytorchstable-diffusionimage-generationdiffusers

Shapes mismatch while training diffusers/UNet2DConditionModel

I am trying to train diffusers/UNet2DConditionModel from scratch. Currently I have error on unet forwarding: mat1 and mat2 shapes cannot be multiplied (288×512 and 1280×512). I noticed that mat1 first dimension (288) can vary depending on dataset batch.