lkwq007 / stablediffusion-infinity

Outpainting with Stable Diffusion on an infinite canvas
Apache License 2.0
3.82k stars 300 forks source link

Missing key(s) in state_dict: "up_blocks.0.upsamplers.0.conv.weight #190

Open Ralph224 opened 1 year ago

Ralph224 commented 1 year ago

Hi,

Running SD-Infinity locally. I have a ckpt model in the "models" folder. I run the following: python "app.py" --local_model "C:\Users\stablediffusion-infinity-master\models\model.ckpt"

and get the following errors: Using local_model: C:\Users\stablediffusion-infinity-master\models\model.ckpt Converting & Loading C:\Users\stablediffusion-infinity-master\models\model.ckpt Error(s) in loading state_dict for UNet2DConditionModel: Missing key(s) in state_dict: "up_blocks.0.upsamplers.0.conv.weight", "up_blocks.0.upsamplers.0.conv.bias", "up_blocks.1.upsamplers.0.conv.weight", "up_blocks.1.upsamplers.0.conv.bias", "up_blocks.2.upsamplers.0.conv.weight", "up_blocks.2.upsamplers.0.conv.bias". Unexpected key(s) in state_dict: "up_blocks.0.attentions.2.conv.bias", "up_blocks.0.attentions.2.conv.weight".

Any help on this?