generative-models icon indicating copy to clipboard operation
generative-models copied to clipboard

RuntimeError: Error(s) in loading state_dict for LatentDiffusion

Open zhongfuxiao opened this issue 1 year ago • 6 comments

dear guys: when i change model to sdxl, i got error below raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for LatentDiffusion: size mismatch for model.diffusion_model.time_embed.0.weight: copying a param with shape torch.Size([1536, 384]) from checkpoint, the shape in current model is torch.Size([1280, 320]) ……………………………………………………………… how can I resolve this problem?

zhongfuxiao avatar Jul 10 '23 23:07 zhongfuxiao

same

GZ315200 avatar Jul 27 '23 15:07 GZ315200

same

Ricaardo avatar Jul 28 '23 18:07 Ricaardo

Yo! Same error and I've copied the latest YAML files for Base & Refiner. Using RunPod. Thoughts?

pixeladdikt avatar Jul 29 '23 20:07 pixeladdikt

same

h3clikejava avatar Aug 22 '23 03:08 h3clikejava

same

RousseauRemi avatar Oct 26 '23 09:10 RousseauRemi

Anyone here solved it yet? Thank you!

Oyiyi avatar Nov 25 '23 23:11 Oyiyi