Unable to load stable-diffusion-inpainting ckpt
Closed this issue · 1 comments
pansanity666 commented
Hi,
I met the follow error when loading sd inpainting:
OSError: Unable to load weights from pytorch checkpoint file for '../../ckpt/diff_inpaint/safety_checker/pytorch_model.bin' at '../../ckpt/diff_inpaint/safety_checker/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
Do you have any idea about it?
Best,
pansanity666 commented
Problem solved.
This is sensitive to the torch version. Using torch 2.0.1 as the readme said solves the issue.