Failed to load checkpoint instruct-pix2pix-00-22000-pruned.safetensors

#2
by ic4nication - opened

changing setting sd_model_checkpoint to instruct-pix2pix-00-22000-pruned.safetensors [21c7ab71]: RuntimeError
Traceback (most recent call last):
File "F:\Progz\stable-diffusion-webui\modules\shared.py", line 502, in set
self.data_labels[key].onchange()
File "F:\Progz\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "F:\Progz\stable-diffusion-webui\webui.py", line 73, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
File "F:\Progz\stable-diffusion-webui\modules\sd_models.py", line 369, in reload_model_weights
load_model_weights(sd_model, checkpoint_info)
File "F:\Progz\stable-diffusion-webui\modules\sd_models.py", line 203, in load_model_weights
model.load_state_dict(sd, strict=False)
File "F:\Progz\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1604, in load_state_dict
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.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]).

Sign up or log in to comment