Closed Moonist59 closed 1 year ago
Hi,
Thank you for your report, Can you tell me if you are on Mac, Windows, Linux ? I will check what's happening and come back very soon.
I update the package, please, tell me if it's good now :)
regards
Hi, Using Windows 11 - A1111 WebUI The Wav2lip tab now displays.
When running test I have 2 errors -
I noticed that the wav2lip and wav2lip gan files go in the extensions\sd-wav2lip-uhq\wav2lip\scripts\checkpoints\ - path according to the installation instructions but my set up has a \extensions\sd-wav2lip-uhq\scripts\wav2lip\checkpoints path?
Thanks for your hard work.
Thank you for pointing out the error. My apologies, you are correct. The correct path should be '\extensions\sd-wav2lip-uhq\scripts\wav2lip\checkpoints'.
Could you please provide a copy/paste of the error message for further clarification? I appreciate your help.
Load checkpoint from: D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\sd-wav2lip-uhq\scripts\wav2lip/checkpoints/wav2lip_gan.pth Model loaded 100%|███████████████████████████████████████████████████████████████████████████████████| 2/2 [12:12<00:00, 366.07s/it] Traceback (most recent call last): File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1323, in process_api result = await self.call_function( File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1051, in call_function prediction = await anyio.to_thread.run_sync( File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run result = context.run(func, *args) File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\sd-wav2lip-uhq\scripts\ui.py", line 43, in generate w2l.execute() File "D:\X\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 282, in execute raise RuntimeError(stderr) RuntimeError: ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20200122 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Guessed Channel Layout for Input Stream #0.0 : mono Input #0, wav, from **\AppData\Local\Temp\gradio\571fa2b73663bf43b4828cefc7444103b25cf541\audiotortoiseDS__2023-06-22_09-09-14__n2.wav': Duration: 00:00:05.61, bitrate: 768 kb/s Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 24000 Hz, mono, flt, 768 kb/s D:\X\A1111: No such file or directory
I updated and restarted then ran it. Here's what I got.
I think issue come from space in folder name, I have update the extension, please update and retry.
Let me know :)
Success! Again, thanks for all your work on this project. The results look great. All ran is it should. Any tips for speeding up results?
let's talk on discord : NumZ#7184 , i close this issue :) Thanks again :-)
Hi! I'm having the same issue. I'm on an M2 mac.
*** Error loading script: wav2lip_uhq.py
Traceback (most recent call last):
File "/Users/me/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/Users/me/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "
Also, for what its worth, I'm not very python savvy.
Hi! I'm having the same issue. I'm on an M2 mac.
*** Error loading script: wav2lip_uhq.py Traceback (most recent call last): File "/Users/me/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/Users/me/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/Users/me/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip_uhq.py", line 15, in init_wav2lip_uhq() File "/Users/me/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip_uhq.py", line 9, in init_wav2lip_uhq from ui import on_ui_tabs File "/Users/me/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/ui.py", line 4, in from scripts.wav2lip.wav2lip_uhq import Wav2LipUHQ File "/Users/me/stable-diffusion-webui/extensions/sd-wav2lip-uhq/scripts/wav2lip/wav2lip_uhq.py", line 8, in import dlib ModuleNotFoundError: No module named 'dlib'
Also, for what its worth, I'm not very python savvy.
Hi,
The issue here come from the "dlib" package, for mac we have to use the original dlib and not dlib-bin like me... I'm sorry about that...
the solution for you is to install the dlib package after uninstall dlib-bin: you have to launch this 2 command in the env of python for stable-diffusion:
pip uninstall dlib-bin pip install dlib
I think other that could worl is to modify the requirements.txt file in the extension : edit the file /Users/me/stable-diffusion-webui/extensions/sd-wav2lip-uhq/requirements.txt remove "dlib-bin" add "dlib"
Tell me if taht resolve the issue really sorry about that ...
Hey no worries! I actually already installed dlib, in the env. It seems to be working fine right now as I'm in the middle of processing 1400 frames lol. I did change the requirements.txt as you suggested.
Cheers!
1400!!! wow, i hope you'll not have issues ... good luck :)
Thanks :-)
Hi, I receive the above error. Is there something I'm missing or need to do to get this to load in A1111? Thank you.