Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ralph224 opened this issue Feb 17, 2023 · 2 comments
Open

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

Ralph224 opened this issue Feb 17, 2023 · 2 comments

Comments

@Ralph224
Copy link

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
Copy link

same here

@zengjie617789
Copy link

update diffusers versiont to 0.17.1 fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants