AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.61k stars 26.47k forks source link

[Bug]: Folder tree in Checkpoint tab doesn't show when enabled #15096

Open jonk999 opened 6 months ago

jonk999 commented 6 months ago

Checklist

What happened?

In v1.8.0 when going to the Checkpoint tab and enabling folder view, the pane appears but does not list the folder tree I have.

Steps to reproduce the problem

Open Webui Go to Checkpoint tab Click icon to show folder tree

What should have happened?

Webui should show the folder tree for my Checkpoints in the side window that shows when folder tree icon is clicked

What browsers do you use to access the UI ?

Google Chrome, Microsoft Edge

Sysinfo

sysinfo-2024-03-03-03-15.json

Console logs

venv "I:\zzzz_stablediffusion-other\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.8.0
Commit hash: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5
Launching Web UI with arguments: --ckpt-dir i:\y_stable-diffusion\models\Stable-diffusion --vae-dir i:\y_stable-diffusion\models\VAE --esrgan-models-path i:\y_stable-diffusion\models\ESRGAN --lora-dir i:\y_stable-diffusion\models\Lora --embeddings-dir i:\y_stable-diffusion\embeddings --hypernetwork-dir i:\y_stable-diffusion\models\hypernetworks --gfpgan-models-path i:\y_stable-diffusion\models\GFPGAN
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [68caded5ad] from i:\y_stable-diffusion\models\Stable-diffusion\zz_inpainting\aZovyaPhotoreal_v2InpaintVAE.safetensors
Creating model from config: I:\zzzz_stablediffusion-other\stable-diffusion-webui\configs\v1-inpainting-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 50.1s (prepare environment: 12.4s, import torch: 14.2s, import gradio: 5.6s, setup paths: 6.1s, initialize shared: 0.5s, other imports: 6.0s, list SD models: 0.5s, load scripts: 2.1s, create ui: 2.4s, gradio launch: 0.3s).
Applying attention optimization: Doggettx... done.
No Image data blocks found.
No Image data blocks found.
Model loaded in 6.2s (create model: 0.7s, apply weights to model: 4.6s, apply dtype to VAE: 0.2s, load textual inversion embeddings: 0.4s, calculate empty prompt: 0.2s).

Additional information

nolist

o-l-l-i commented 6 months ago

I noticed this same issue today. I could not find any way around this other than to create a symbolic link in the folder, so that the models/Stable-diffusion points to a storage drive folder where I've saved my models.

So the folder tree is not seemingly rendered for the folder added with --ckpt-dir, but the models show up in the right-side browser. However the --lora-dir seems to still work, and it shows all the tree folders on the drive, etc.

MrKuenning commented 6 months ago

I am also seeing this.

May arguments set loras to: E:\AI\MODELS\Lora and checkpoints to: E:\AI\MODELS\Stable-diffusion

Lora tree loads fine but checkpoints is blank.

Additionally is there anyway to have the tree expanded by default and to hide the models from the list. It would be nice if it were more of a vertical folder list

Sicnics commented 1 month ago

I can confirm this is still happening. I also have my models located outside my main SD folder e.g x:\SD_Models\1.5\Lora and checkpoints to: x:\SD_Models\1.5\Stable-diffusion