Code Monkey home page Code Monkey logo

Comments (12)

numz avatar numz commented on August 15, 2024

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.

from sd-wav2lip-uhq.

numz avatar numz commented on August 15, 2024

I update the package,
please, tell me if it's good now :)

regards

from sd-wav2lip-uhq.

Moonist59 avatar Moonist59 commented on August 15, 2024

Hi,
Using Windows 11 - A1111 WebUI
The Wav2lip tab now displays.

When running test I have 2 errors -

  1. RuntimeError: ffmpeg verison 4.2.2
  2. No such file or directory

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.

from sd-wav2lip-uhq.

numz avatar numz commented on August 15, 2024

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.

from sd-wav2lip-uhq.

Moonist59 avatar Moonist59 commented on August 15, 2024

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\audio__tortoise__DS__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.

from sd-wav2lip-uhq.

numz avatar numz commented on August 15, 2024

I think issue come from space in folder name, I have update the extension, please update and retry.

Let me know :)

from sd-wav2lip-uhq.

Moonist59 avatar Moonist59 commented on August 15, 2024

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?

from sd-wav2lip-uhq.

numz avatar numz commented on August 15, 2024

let's talk on discord : NumZ#7184 , i close this issue :)
Thanks again :-)

from sd-wav2lip-uhq.

OzarkJr avatar OzarkJr commented on August 15, 2024

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.

from sd-wav2lip-uhq.

numz avatar numz commented on August 15, 2024

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 ...

from sd-wav2lip-uhq.

OzarkJr avatar OzarkJr commented on August 15, 2024

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!

from sd-wav2lip-uhq.

numz avatar numz commented on August 15, 2024

1400!!! wow, i hope you'll not have issues ...
good luck :)

Thanks :-)

from sd-wav2lip-uhq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.