Is there an existing issue for this?
What happened?
The current Dev Branch has a bug that causes it to not load when changing "txt2img/img2img UI item order".
It seems to only be when dimension is set to be first in the UI:
"ui_reorder_list": [
"dimensions",
"cfg",
"seed",
"sampler",
"checkboxes",
"hires_fix",
"batch",
"scripts"
],
Steps to reproduce the problem
- Change your UI order in settings under "txt2img/img2img UI item order" so "dimensions" is first
- Save Settings
- Reload UI or restart fully
What should have happened?
Should have been able to place "dimensions" at the top of the UI order even in dev branch.
Sysinfo
sysinfo-2023-11-20-18-23.json
What browsers do you use to access the UI ?
Mozilla Firefox
Console logs
Already up to date.
venv "C:\Users\reibi\Documents\AI\stable-diffusion-webui\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)]
Version: v1.6.0-371-g5f36f6ab
Commit hash: 5f36f6ab21228235021c2441a404f7d297ef6737
Installing requirements
Launching Web UI with arguments: --xformers --no-half-vae --update-all-extensions --autolaunch
2023-11-20 10:18:01.218789: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
WARNING:tensorflow:From C:\Users\reibi\Documents\AI\stable-diffusion-webui\venv\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.
*** "Disable all extensions" option was set, will only load built-in extensions ***
Loading weights [5e5be6a7be] from C:\Users\reibi\Documents\AI\stable-diffusion-webui\models\Stable-diffusion\Nai.safetensors
Traceback (most recent call last):
File "C:\Users\reibi\Documents\AI\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "C:\Users\reibi\Documents\AI\stable-diffusion-webui\launch.py", line 44, in main
start()
File "C:\Users\reibi\Documents\AI\stable-diffusion-webui\modules\launch_utils.py", line 436, in start
webui.webui()
File "C:\Users\reibi\Documents\AI\stable-diffusion-webui\webui.py", line 64, in webui
shared.demo = ui.create_ui()
File "C:\Users\reibi\Documents\AI\stable-diffusion-webui\modules\ui.py", line 641, in create_ui
for component in [init_img, sketch]:
UnboundLocalError: local variable 'init_img' referenced before assignment
Creating model from config: C:\Users\reibi\Documents\AI\stable-diffusion-webui\configs\v1-inference.yaml
Loading VAE weights specified in settings: C:\Users\reibi\Documents\AI\stable-diffusion-webui\models\VAE\🔴_klF8Anime2Pt.pt
Applying attention optimization: xformers... done.
Model loaded in 2.4s (load weights from disk: 0.2s, create model: 0.2s, apply weights to model: 1.6s, load VAE: 0.1s).
Press any key to continue . . .
Additional information
I tried this on an old install, fresh install, with, and without extensions.
Is there an existing issue for this?
What happened?
The current Dev Branch has a bug that causes it to not load when changing "txt2img/img2img UI item order".
It seems to only be when dimension is set to be first in the UI:
Steps to reproduce the problem
What should have happened?
Should have been able to place "dimensions" at the top of the UI order even in dev branch.
Sysinfo
sysinfo-2023-11-20-18-23.json
What browsers do you use to access the UI ?
Mozilla Firefox
Console logs
Additional information
I tried this on an old install, fresh install, with, and without extensions.