Closed ice-fly closed 3 months ago
Duplicates #271
Duplicate #271 resolution is based on symlinks on windows. I am on windows, but I don't use symlinks to link model folders to Forge or a1111. In the .bat file you can set custom paths in the COMMANDLINE_ARGS. For example, if you have your models on a D drive:
set COMMANDLINE_ARGS=--xformers --theme dark ^
--ckpt-dir 'D:\My Models\Stable-diffusion-models' ^
--embeddings-dir 'D:\My Models\embeddings' ^
--hypernetwork-dir 'D:\My Models\hypernetworks' ^
--vae-dir 'D:\My Models\VAE' ^
--lora-dir 'D:\My Models\Lora' ^
--lyco-dir 'D:\My Models\LyCORIS' ^
--esrgan-models-path 'D:\My Models\ESRGAN'
You can even add a custom path to controlnet models, but you need the controlnet extension installed first or Stable Diffusion throws errors.
--controlnet-dir 'D:\My Models\ControlNet'
Recently I have encountered the OP's issue when trying to update any of the models.
ValueError: path is on mount 'D:', start on mount 'C:'
Thanks for letting me know!
It looks I didn't properly set up the command flag for ControlNet as I wasn't aware that it had one when installed, all the other command flags you mentioned should already be taken into account when using the extension.
I'm not sure if adding the command flag compatibility for ControlNet will fix this issue, so I'll definitely look into a different method of fetching the sub-folder which is causing this error. I've made a small hotfix that now adds the ControlNet command flags into the extension
Describe the bug.
Running update tags breaks when path is on D:
Steps to reproduce the problem.
Install on another drive and try to update tags
Expected behavior
Saves tags to any drive path
System info
Console logs
Additional information
Used to work