-
Notifications
You must be signed in to change notification settings - Fork 731
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]: Extra networks not showing tree view if Commandline arg points to another path #121
Comments
I'm also having this issue (Windows 11). I'm not using quotes in my paths.
I noticed that the default model that's downloaded at first run shows in the tree view. So extra networks is still looking at the original folders, and any models in folders there show up. Just not any folders in our folder paths we have set in the arguments. |
i don´t know why this is not put into the settings anyway, why people who are not coders have to use arguments. the settings have so many option.... yet none to set the folder path. maybe it is coder logic but to me as a laymen it makes no sense. |
I just bit the bullet and solved this on my end using Symlinks. There just some issues with how Lycoris are implemented in the civitai helper, but I can live with that |
That's definitely a quickfix for this, but I've personally been trying to get away from symlinks. And since the application supports pointing to different folders, it should support that internally throughout the app. |
I've almost resolved the issue with this config:
Note the double backslashes instead of forward slashes. My folder trees now show up properly in extra networks except for Checkpoints. My checkpoints still showed up though, but no tree. However, after deleting the default model that is downloaded into the webui/models/Stable-diffusion folder when first running Forge, it now only displays one checkpoint, which happens to be the only one in a non-hidden folder. All of my model subfolders start with ".", since they are categorized heavily, and this is not causing a problem with the LORA or textual inversion trees. The models still are listing properly in the "Stable Diffusion checkpoint" selector. So it seems like there is some hard coding somewhere that always looks at the default checkpoint folder in addition to the custom one in the config, which is affecting the tree view in Checkpoints under extra networks. |
Confirmed issue with latest upstream. Replacing forward slashes with double backslashes fixes it in the meantime. I'm unable to reproduce the issue being described above where only the checkpoints folder does not display a tree though. |
What is your --ckpt-dir pointing to? Is it the same as mine ("Stable-diffusion") or do you have a different folder name? |
You're right, it looks like it's broken if the folder uses the same default name ( |
I'm closing this as the original issue in OP has been resolved via AUTOMATIC1111/stable-diffusion-webui#14934, which is now merged into this repo. Please open a new issue upstream for the other issue if it still persists as I mentioned above. |
Checklist
What happened?
As written in title, the extra networks does not show folders (I checke don the options already)
The only thing im thinking should be interfering is that im pointing ther Loras folder to my auto folder using commandline args.
This is the webui copypaste:
set VENV_DIR=
set A1111_HOME="X:\STABLEDIFFUSION\AUTOMATIC11111"
set COMMANDLINE_ARGS= --always-gpu --ckpt-dir "X:\AIMODELS" --lora-dir %A1111_HOME%/models/Lora --embeddings-dir %A1111_HOME%/models/embeddings --hypernetwork-dir %A1111_HOME%/models/hypernetworks --vae-dir "X:\STABLEDIFFUSION\AUTOMATIC11111\models\VAE" --gfpgan-dir "X:\STABLEDIFFUSION\AUTOMATIC11111\models\GFPGAN" --esrgan-models-path "X:\STABLEDIFFUSION\AUTOMATIC11111\models\ESRGAN" --bsrgan-models-path "X:\STABLEDIFFUSION\AUTOMATIC11111\models\BSRGAN"
Maybe Its a problem with the quotes? The loras are found and load.
Steps to reproduce the problem
Point to a folder in other location using commandline args, use the extra networks viewer
What should have happened?
Should show folders/tree view
What browsers do you use to access the UI ?
No response
Sysinfo
sysinfo-2024-02-07-15-44.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: