Extension does not respect stable-diffusion-webui --data-dir option
#191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Extension looks in
$installDirfor data, not$dataDir. This leads to file not found errors because the extrension is checking the wrong location.To Reproduce
/home/foobar/webui--data-dir /tmpFaceSwapLab - ERROR - Failed to build checkpoint [Errno 2] No such file or directory: '/home/foo/stable-diffusion-webui/extensions/sd-webui-faceswaplab/references/woman.png'/tmp/extensions/sd-webui-faceswaplab/references/woman.pngThis can also be see with the location of the
inswapper_128.onnxfile being/home/foo/stable-diffusion-webui/modelsnot/tmp/modelsNote: /tmp only used as an example, not my actual data dir.
Expected behavior
Look in correct install location/data-dir
Desktop (please complete the following information):
Hello, the same thing happens to me... did you find a solution?