Error with latest model - Downloaded 11Jul23

#18
by pharmpk - opened

Error: Could not load the stable-diffusion model! Reason: Error(s) in loading state_dict for LatentDiffusion: size mismatch for model.diffusion_model.input_blocks.0.0.weight: copying a param with shape torch.Size([320, 8, 3, 3]) from checkpoint, the shape in current model is torch.Size([320, 4, 3, 3]).

There was a problem in the old diffusers version, with 8 and 4 channels for inpainting. It is solved in the modern versions.

Sign up or log in to comment