[Bug]: additional networks does not list any models
Closed this issue · 22 comments
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What happened?
Steps to reproduce the problem
- Start webui
- click additional networks button
- no networks are shown
Have tried
- multiple devices and browsers
- disabling recent extensions (by memory, possible I missed some)
- restarted process/terminal
- ctrl-F5 hard refresh
- incognito mode
What should have happened?
Should see TI, Checkpoints, Lora etc
Commit where the problem happens
9aba26abdfcd46073e0a1d42027a3a3bcc969f562d58a03637bf0a0ded6586c9
What platforms do you use to access the UI ?
Windows, iOS, Android
What browsers do you use to access the UI ?
Google Chrome, Apple Safari
Command Line Arguments
set COMMANDLINE_ARGS=--listen --enable-insecure-extension-access --no-half --api --xformers --update-all-extensions --ckpt-dir="D:\hal\stable-diffusion\models\Stable-diffusion" --lora-dir="D:\hal\stable-diffusion\models\Lora" --embeddings-dir="D:\hal\stable-diffusion\models\Embeddings" --hypernetwork-dir="D:\hal\stable-diffusion\models\Hypernetworks"
List of extensions
a1111-sd-webui-locon
a1111-sd-webui-lycoris
a1111-sd-webui-tagcomplete
depthmap2mask
multidiffusion-upscaler-for-automatic1111
OneButtonPrompt
sd-canvas-editor
sd-dynamic-prompts
sd-extension-system-info
sd-webui-3d-open-pose-editor
sd-webui-ar
sd-webui-aspect-ratio-helper
sd-webui-controlnet
sd-webui-enable-checker
sd-webui-infinite-image-browsing
sd-webui-inpaint-anything
sd-webui-regional-prompter
sd-webui-segment-anything
Stable-Diffusion-Webui-Civitai-Helper
stable-diffusion-webui-composable-lora
stable-diffusion-webui-nsfw-censor
stable-diffusion-webui-promptgen
stable-diffusion-webui-two-shot
ultimate-upscale-for-automatic1111
Console logs
I see no errors. :(
Launching Web UI with arguments: --listen --enable-insecure-extension-access --no-half --api --xformers --update-all-extensions --ckpt-dir=D:\hal\stable-diffusion\models\Stable-diffusion --lora-dir=D:\hal\stable-diffusion\models\Lora --embeddings-dir=D:\hal\stable-diffusion\models\Embeddings --hypernetwork-dir=D:\hal\stable-diffusion\models\Hypernetworks
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: D:\hal\stable-diffusion\ux\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
Loading weights [9aba26abdf] from D:\hal\stable-diffusion\models\Stable-diffusion\sd15\deliberate_v2.safetensors
Creating model from config: D:\hal\stable-diffusion\ux\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(32): 16-token-negative-deliberate-neg, AS-Young, AS-Young-neg, AS-Younger, AS-Youngest, Bsft, dangerdonkey, easynegative, fractal-flame, gothbuilding, hobbithouse, hobbithouse_2, hrgiger-drmacabre, Isometric_Dreams, kc16-4000-sd1-5, kkw-micro, ng_deepnegative_v1_64t, photozoov15, Planit, qualityzoov15, renderzoov15, structurezoov15, Style-Glass, Style-Info, style-paintmagic, Style-Psycho, Style-Renaissance, style-rustmagic, Style-Winter, vintagemap_f, was-dieselpunk, was-mecha
Textual inversion embeddings skipped(10): dangerhorse, Neg_Facelift768, nfixer, nrealfixer, photozoov21, DrD_PNTE768, Painted_Landscape, ParchArt, Davespacefour, Knollingcase
Model loaded in 3.2s (load weights from disk: 0.2s, create model: 0.3s, apply weights to model: 0.7s, move model to device: 1.1s, load textual inversion embeddings: 0.9s).
ControlNet v1.1.170
ControlNet v1.1.170
Running on local URL: http://0.0.0.0:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 19.6s (import torch: 2.2s, import gradio: 1.1s, import ldm: 0.6s, other imports: 0.9s, load scripts: 6.5s, create ui: 3.8s, gradio launch: 4.3s).
Additional information
Checked js console, nothing helpful there either.
can you check if it is ok now?
can you check if it is ok now?
Interesting, its failing to load due to bad settings detected, which I've never seen before. See if I can fix this, will report back.
Launching Web UI with arguments: --listen --enable-insecure-extension-access --no-half --api --xformers --update-all-extensions --ckpt-dir=D:\hal\stable-diffusion\models\Stable-diffusion --lora-dir=D:\hal\stable-diffusion\models\Lora --embeddings-dir=D:\hal\stable-diffusion\models\Embeddings --hypernetwork-dir=D:\hal\stable-diffusion\models\Hypernetworks
Warning: bad setting value: quicksettings: sd_model_checkpoint,ui_header_tabs,outdir_samples,samples_save (str; expected list)
The program is likely to not work with bad settings.
Settings file: D:\hal\stable-diffusion\ux\config.json
Either fix the file, or delete it and restart.
<snip stuff about models loading etc>
Traceback (most recent call last):
File "D:\hal\stable-diffusion\ux\launch.py", line 370, in <module>
start()
File "D:\hal\stable-diffusion\ux\launch.py", line 365, in start
webui.webui()
File "D:\hal\stable-diffusion\ux\webui.py", line 295, in webui
shared.demo = modules.ui.create_ui()
File "D:\hal\stable-diffusion\ux\modules\ui.py", line 1660, in create_ui
component = create_setting_component(k, elem_id)
File "D:\hal\stable-diffusion\ux\modules\ui.py", line 1551, in create_setting_component
raise Exception(f'bad options item type: {t} for key {key}')
Exception: bad options item type: <class 'list'> for key quicksettings
Turned the str into a list, that resolved the first error (? did you work on the parser for this setting?), but the second fatal one was still there.
Removed key entirely, same.
Renamed config.json out of the way, webui made a new one (on left in this diff) -- which still throws an error! Gotta revert.
Reverted back to 94a759b, had to rm config.json for it to start. (Should work with my backup, just haven't tried that yet.)
yes it is fixed now I did also remove the config some property cause the problem didnt search to find which one
the quicksettings is used by ui-ux,
the quicksettings_list is used by autos new update
they need to be both present that is for me when to update from upstream not to have many conflicts
they are hidden in ui settings so people dont get confused
P.S. while you are in here, can you autohide empty tabs? Lycoris does nothing. Made issue #147
can you disable civitai i suspect it has something to do with this i will look into it
Reinstalled from scratch to ensure customisations/tweaks not causing issues.
Confirmed symlinked subfolders no longer load when running a Miniconda-based environment in Windows 11; #142 might not be a duplicate after all.
eg:
\models\LoRA [OK]
\models\LoRA\subfolder [OK]
\models\LoRA\symlink [still broken]
Also applicable to all other network types.
Otherwise, Extra Networks pane seems to be working correctly for standard folders.
When symlinks were working, I noticed identically named subfolders are combined. This could be seen as both a bug and a feature, depending on user intent.
So, selecting a button for path '\people' displays content from both '.\people' and '.\other\people'.
thanks for this very helpful info I will look into it
Thank you for the fix, but I think my issue is different from #148, because it hasn't been fixed on my side. Extra network menu still greyed out and can't load the card.
I'm using f2b9c2c right now and the extra network menu is normal, unlike the latest commit
Should I create new issue for this?
Commit hash: 64715b5
Commit hash: f2b9c2c
can you disable civitai i suspect it has something to do with this i will look into it
I think you already ruled this out, but just in case not -- still grayed out w/o civitai.
Just noticed that "directory hiding for extra networks: dirs starting with . will hide their cards on extra network tabs unless specifically searched for" is not working. Cards and filter/path buttons remain visible.
It may not be a useful information but ddd44e4 works for me without causing any major surface level issues. The only minor issue is i have to reload the extra networks tab every time for them to show up.
Thank you for the fix, but I think my issue is different from #148, because it hasn't been fixed on my side. Extra network menu still greyed out and can't load the card.
I'm using f2b9c2c right now and the extra network menu is normal, unlike the latest commit
Should I create new issue for this?
Commit hash: 64715b5
Commit hash: f2b9c2c
Commit hash: 37f3b28
latest I see no issue
Ah, so that's why I didn't see any finalized image after generation as of late - I redirected the whole output folder to a HDD with junction (symlink). The same goes for models, since they eat up SSD space, like crazy. :)
Thank you for the fix, but I think my issue is different from #148, because it hasn't been fixed on my side. Extra network menu still greyed out and can't load the card.
I'm using f2b9c2c right now and the extra network menu is normal, unlike the latest commit
Should I create new issue for this?
Commit hash: 64715b5
Commit hash: f2b9c2c
Commit hash: 37f3b28 latest I see no issue
Commit 37f3b28 and it's still greyed out for me too.
Thank you for the fix, but I think my issue is different from #148, because it hasn't been fixed on my side. Extra network menu still greyed out and can't load the card.
I'm using f2b9c2c right now and the extra network menu is normal, unlike the latest commit
Should I create new issue for this?
Commit hash: 64715b5
Commit hash: f2b9c2c
Commit hash: 37f3b28 latest I see no issue
Did you launch the notebook with default setting? because I put the stable commit in commit_hash
where the extra networks still working.