[Bug]: JSONDecodeError
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
When I press the webui-user batch, I get this error on the cmd
Steps to reproduce the problem
- Git clone AUTOMATIC1111 repository
- Run webui-user.bat
What should have happened?
The installation should continue
Commit where the problem happens
0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
No
List of extensions
No
Console logs
venv "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Loading weights [9aba26abdf] from C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\models\Stable-diffusion\deliberate_v2.safetensors
Creating model from config: C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Failed to create model quickly; will retry using slow method.
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
loading stable diffusion model: JSONDecodeError
Traceback (most recent call last):
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\webui.py", line 111, in initialize
modules.sd_models.load_model()
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\modules\sd_models.py", line 406, in load_model
sd_model = instantiate_from_config(sd_config.model)
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 563, in __init__
self.instantiate_cond_stage(cond_stage_config)
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 630, in instantiate_cond_stage
model = instantiate_from_config(config)
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\modules\encoders\modules.py", line 99, in __init__
self.tokenizer = CLIPTokenizer.from_pretrained(version)
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1801, in from_pretrained
return cls._from_pretrained(
File "C:\Users\Utente\Documents\Stablediff\stable-diffusion-webui\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1972, in _from_pretrained
special_tokens_map = json.load(special_tokens_map_handle)
File "C:\Users\Utente\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
File "C:\Users\Utente\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\Utente\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Utente\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Stable diffusion model failed to load, exiting
Premere un tasto per continuare . . .
Additional information
No response
Same, Win 10 64-bit. Just started yesterday:
Launching Web UI with arguments:
Traceback (most recent call last):
File "Z:\StableDiffusion\stable-diffusion-webui\launch.py", line 361, in
same error here Failed to create model quickly; will retry using slow method.
I am running on the same issue, "Failed to create model quickly;" followed by "loading stable diffusion model: JSONDecodeError...". I am running windows 10 64bit with a gtx960, 2gb of vram. I had a previous version of the web-ui working on this same system a few months ago. I Tried updating the gpu drivers, cuda, downgrading from python 3.10.7 to 3.10.6, and updating pip... nothing worked so far.