You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension looks in $installDir for data, not $dataDir. This leads to file not found errors because the extrension is checking the wrong location.
To Reproduce
Install table-diffusion-webui webui
EG: /home/foobar/webui
Launch table-diffusion-webui with --data-dir /tmp
Install this extension
Restart as normal
Try to generate face model
FaceSwapLap tab
Build tab
Add photos
[Save]
Check console, build fails with error:
FaceSwapLab - ERROR - Failed to build checkpoint [Errno 2] No such file or directory: '/home/foo/stable-diffusion-webui/extensions/sd-webui-faceswaplab/references/woman.png'
Should be looking in /tmp/extensions/sd-webui-faceswaplab/references/woman.png
This can also be see with the location of the inswapper_128.onnx file being /home/foo/stable-diffusion-webui/models not /tmp/models
Note: /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):
OS: linux (debian)
Browser: FF/Chrome
Version: latest
The text was updated successfully, but these errors were encountered:
ryanwalder
changed the title
Extension does not respect Automatic1111 --data-dir option
Extension does not respect stable-diffusion-webui --data-dir option
Apr 21, 2024
Describe the bug
Extension looks in
$installDir
for 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 /tmp
FaceSwapLab - 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.png
This can also be see with the location of the
inswapper_128.onnx
file being/home/foo/stable-diffusion-webui/models
not/tmp/models
Note: /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):
The text was updated successfully, but these errors were encountered: