You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After converting safetensors->ckpt file, in cmd "python scripts/img2img.py --init-img D:\RealImage\2-1.png --outdir D:\RealImage\Output --prompt beautiful --ckpt Deliberate- inpainting.ckpt" action was taken,
Global seed set to 42
Loading model from Deliberate-inpainting.ckpt
Traceback (most recent call last):
File "scripts/img2img.py", line 293, in
main()
File "scripts/img2img.py", line 200, in main
model = load_model_from_config(config, f"{opt.ckpt}")
File "scripts/img2img.py", line 33, in load_model_from_config
sd = pl_sd["state_dict"]
KeyError: 'state_dict'
I am getting the above error, is there any solution?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After converting safetensors->ckpt file, in cmd "python scripts/img2img.py --init-img D:\RealImage\2-1.png --outdir D:\RealImage\Output --prompt beautiful --ckpt Deliberate- inpainting.ckpt" action was taken,
Global seed set to 42
Loading model from Deliberate-inpainting.ckpt
Traceback (most recent call last):
File "scripts/img2img.py", line 293, in
main()
File "scripts/img2img.py", line 200, in main
model = load_model_from_config(config, f"{opt.ckpt}")
File "scripts/img2img.py", line 33, in load_model_from_config
sd = pl_sd["state_dict"]
KeyError: 'state_dict'
I am getting the above error, is there any solution?
Beta Was this translation helpful? Give feedback.
All reactions