lkwq007 / stablediffusion-infinity

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

model.safetensors' is not a valid JSON file[Bug] #189

Open Ralph224 opened 1 year ago

Ralph224 commented 1 year ago

I have a model stored in the "models" folder called model.safetensors
When running the app I run this: python "app.py" --local_model "C:\Users\stablediffusion-infinity-master\models\model.safetensors"

SD runs but when I click "click to setup (may take a while)", it generate this error code. It looks like the config file at 'C:\Users\stablediffusion-infinity-master\models\model.safetensors' is not a valid JSON file.

I've tried ckpt files which loaded but also gave me an error about weight. I'm trying to figure this one using safetensors first if you guys can help.

If not, I'll post the ckpt in a separate bug issue.

enorrmann commented 1 year ago

same here

zengjie617789 commented 11 months ago

update diffusers versiont to 0.17.1 fix the problem.