lkwq007 / stablediffusion-infinity

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

[Bug] Unable to load model #76

Open tr7zw opened 2 years ago

tr7zw commented 2 years ago

Describe the bug After the stablediffusion model got downloaded, it is unable to be loaded by pytorch.

Error

Unable to load weights from pytorch checkpoint file for '[...]/.cache\huggingface\diffusers\models--CompVis--stable-diffusion-v1-4\snapshots\a304b1ab1b59dd6c3ba9c40705c29c6de4144096\unet\diffusion_pytorch_model.bin' at '[...]/.cache\huggingface\diffusers\models--CompVis--stable-diffusion-v1-4\snapshots\a304b1ab1b59dd6c3ba9c40705c29c6de4144096\unet\diffusion_pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

Desktop (please complete the following information):

lkwq007 commented 2 years ago

Seems to be something wrong with diffusers library or the downloaded weights. You may need to delete these model files and download them again.