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

[Bug]: webui-user.bat not working #3925

Closed
1 task
Liqbido opened this issue Oct 29, 2022 · 1 comment
Closed
1 task

[Bug]: webui-user.bat not working #3925

Liqbido opened this issue Oct 29, 2022 · 1 comment
Labels
asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance

Comments

@Liqbido
Copy link

Liqbido commented Oct 29, 2022

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

start weui-user.bat and after in cmd see:
venv "C:\stable-diffusion-webui-master\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash:
Installing requirements for Web UI
Launching Web UI with arguments:
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Traceback (most recent call last):
File "C:\stable-diffusion-webui-master\launch.py", line 206, in
start_webui()
File "C:\stable-diffusion-webui-master\launch.py", line 201, in start_webui
webui.webui()
File "C:\stable-diffusion-webui-master\webui.py", line 129, in webui
initialize()
File "C:\stable-diffusion-webui-master\webui.py", line 90, in initialize
modules.sd_models.load_model()
File "C:\stable-diffusion-webui-master\modules\sd_models.py", line 236, in load_model
sd_model = instantiate_from_config(sd_config.model)
File "C:\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\models\diffusion\ddpm.py", line 461, in init
self.instantiate_cond_stage(cond_stage_config)
File "C:\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\models\diffusion\ddpm.py", line 519, in instantiate_cond_stage
model = instantiate_from_config(config)
File "C:\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "C:\stable-diffusion-webui-master\repositories\stable-diffusion\ldm\modules\encoders\modules.py", line 141, in init
self.tokenizer = CLIPTokenizer.from_pretrained(version)
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1784, in from_pretrained
return cls.from_pretrained(
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\transformers\tokenization_utils_base.py", line 1929, in from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\transformers\models\clip\tokenization_clip.py", line 163, in init
self.encoder = json.load(vocab_handle)
File "C:\Users\LiqBido\AppData\Local\Programs\Python\Python310\lib\json_init
.py", line 293, in load
return loads(fp.read(),
File "C:\Users\LiqBido\AppData\Local\Programs\Python\Python310\lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\LiqBido\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\LiqBido\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 482866 (char 482865)

How fix?

Steps to reproduce the problem

.

What should have happened?

.

Commit where the problem happens

.

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

No response

Command Line Arguments

No response

Additional information, context and logs

No response

@Liqbido Liqbido added the bug-report Report of a bug, yet to be confirmed label Oct 29, 2022
@mezotaken mezotaken added asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance and removed bug-report Report of a bug, yet to be confirmed labels Jan 13, 2023
@catboxanon
Copy link
Collaborator

Closing as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance
Projects
None yet
Development

No branches or pull requests

3 participants