Skip to content
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

[Extension]: faceswaplab not working #2320

Closed
1 task done
tembel123456 opened this issue Oct 17, 2023 · 9 comments
Closed
1 task done

[Extension]: faceswaplab not working #2320

tembel123456 opened this issue Oct 17, 2023 · 9 comments
Labels
extension Extension is not working correctly

Comments

@tembel123456
Copy link

Issue Description

after update, im can't run sd-webui-faceswaplab, i am reinstall whole Sd from scratch and still have this error ...

today morning, before update, extension working well

Downloading inswapper model: 529MB [00:27, 20.4MB/s]
23:31:41-462011 ERROR Module load: extensions\sd-webui-faceswaplab\scripts\faceswaplab.py: FileNotFoundError
┌──────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────┐
│ C:\SD_Next\automatic\extensions\sd-webui-faceswaplab\scripts\faceswaplab_utils\models_utils.py:78 in get_current_swap_model │
│ │
│ 77 │ │ │ logger.error("The model %s cannot be found or loaded", model) │
│ > 78 │ │ │ raise FileNotFoundError( │
│ 79 │ │ │ │ "No faceswap model found. Please add it to the faceswaplab directory. En │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
FileNotFoundError: No faceswap model found. Please add it to the faceswaplab directory. Ensure the model is in the proper directory
(/models/faceswaplab/inswapper_128.onnx)

During handling of the above exception, another exception occurred:

┌──────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────┐
│ C:\SD_Next\automatic\modules\script_loading.py:21 in load_module │
│ │
│ 20 │ │ │ with contextlib.redirect_stdout(io.StringIO()) as stdout: │
│ > 21 │ │ │ │ module_spec.loader.exec_module(module) │
│ 22 │ │ │ setup_logging() # reset since scripts can hijaack logging │
│ in exec_module:883 │
│ in _call_with_frames_removed:241 │
│ │
│ C:\SD_Next\automatic\extensions\sd-webui-faceswaplab\scripts\faceswaplab.py:4 in │
│ │
│ 3 │
│ > 4 check_configuration() │
│ 5 │
│ │
│ C:\SD_Next\automatic\extensions\sd-webui-faceswaplab\scripts\configure.py:55 in check_configuration │
│ │
│ 54 │ │ download(model_url, model_path) │
│ > 55 │ │ check_model() │
│ 56 │
│ │
│ C:\SD_Next\automatic\extensions\sd-webui-faceswaplab\scripts\faceswaplab_utils\models_utils.py:33 in check_model │
│ │
│ 32 def check_model() -> bool: │
│ > 33 │ model_path = get_current_swap_model() │
│ 34 │ if not is_sha1_matching( │
│ │
│ C:\SD_Next\automatic\extensions\sd-webui-faceswaplab\scripts\faceswaplab_utils\models_utils.py:82 in get_current_swap_model │
│ │
│ 81 │ except: │
│ > 82 │ │ raise FileNotFoundError( │
│ 83 │ │ │ "No faceswap model found. Please add it to the faceswaplab directory. Ensure │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
FileNotFoundError: No faceswap model found. Please add it to the faceswaplab directory. Ensure the model is in the proper directory
(/models/faceswaplab/inswapper_128.onnx)
23:31:41-536688 INFO Extensions time: 28.18s { Lora=0.15s sd-webui-agent-scheduler=0.09s sd-webui-controlnet=0.18s
stable-diffusion-webui-images-browser=0.07s sd-webui-faceswaplab=27.54s }
23:31:41-636711 INFO Loading UI theme: name=black-teal style=Auto
23:31:43-395121 INFO Local URL: http://127.0.0.1:7860/
23:31:43-397584 INFO Initializing middleware
23:31:43-502306 INFO [AgentScheduler] Task queue is empty
23:31:43-504601 INFO [AgentScheduler] Registering APIs
23:31:43-620675 INFO Startup time: 262.43s { samplers=232.17s extensions=28.18s onchange=0.10s ui-extra-networks=0.05s ui-txt2img=0.06s
ui-img2img=0.10s ui-settings=0.10s ui-extensions=1.08s ui-defaults=0.07s launch=0.24s app-started=0.21s }
23:31:45-521467 INFO MOTD:
23:31:49-287398 INFO Browser session: client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/118.0.0.0 Safari/537.36

Version Platform Description

3:37:57-218861 INFO Starting SD.Next
23:37:57-222850 INFO Python 3.10.6 on Windows
23:37:57-318581 INFO Version: app=sd.next updated=2023-10-17 hash=379fe1f3 url=https://github.com/vladmandic/automatic/tree/master
23:37:57-654496 INFO Platform: arch=AMD64 cpu=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel system=Windows
release=Windows-10-10.0.19045-SP0 python=3.10.6
23:37:57-658492 INFO nVidia CUDA toolkit detected: nvidia-smi present

URL link of the extension

https://github.com/glucauze/sd-webui-faceswaplab

URL link of the issue reported in the extension repository

No response

Acknowledgements

  • I have read the above and searched for existing issues
@tembel123456 tembel123456 added the extension Extension is not working correctly label Oct 17, 2023
@brknsoul
Copy link
Contributor

brknsoul commented Oct 17, 2023

FileNotFoundError: No faceswap model found. Please add it to the faceswaplab directory. Ensure the model is in the proper directory
(/models/faceswaplab/inswapper_128.onnx)

reinstall whole Sd from scratch

Did you remember to move the models folder out before deleting the old version?

@tembel123456
Copy link
Author

model is there, correct place , checked like 3 times

@brknsoul
Copy link
Contributor

You also failed to provide a link for the section "URL link of the issue reported in the extension repository".

Since this isn't a SD.Next feature, but an extension, you'll need to report the issue at the extension's github issues.

@tembel123456
Copy link
Author

tembel123456 commented Oct 17, 2023

i am almost new here, so sorry...

@LankyPoet
Copy link

I am experiencing the same issue with today's release of SD.next (and I performed a fresh install, and made sure to move the model to the correct location).

This happens with BOTH face swap lab https://github.com/glucauze/sd-webui-faceswaplab and reactor force https://github.com/Gourieff/sd-webui-reactor-force .

@tembel123456
Copy link
Author

I am experiencing the same issue with today's release of SD.next (and I performed a fresh install, and made sure to move the model to the correct location).

This happens with BOTH face swap lab https://github.com/glucauze/sd-webui-faceswaplab and reactor force https://github.com/Gourieff/sd-webui-reactor-force .

did you solve it somehow, or is the problem still there?

@LankyPoet
Copy link

The problem is still occurring for me. I tried the instructions here:
glucauze/sd-webui-faceswaplab#36
But no change.
Have you already also reported to the faceswaplab Git issues?

@LankyPoet
Copy link

@tembel123456 If you haven't already, please report this to FaceSwapLab Git.

I reported to Reactor Force and they fixed it: https://github.com/Gourieff/sd-webui-reactor-force .

@vladmandic
Copy link
Owner

I reported to Reactor Force and they fixed it: https://github.com/Gourieff/sd-webui-reactor-force

i'm glad but i also added a compatibility layer to sdnext anyhow, so both extensions should now work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Extension is not working correctly
Projects
None yet
Development

No branches or pull requests

4 participants