numz / wav2lip_uhq Goto Github PK
View Code? Open in Web Editor NEWWav2Lip UHQ Improvement with ControlNet 1.1
License: Apache License 2.0
Wav2Lip UHQ Improvement with ControlNet 1.1
License: Apache License 2.0
I come across the no face issue in the end of a project, which cost a lot of time already.
So I am wondering if there any good solution to avoid this kind of issue.
Thanks.
Trying to run this but getting an error.
(venv) F:\wav2lip_uhq>F:\wav2lip_uhq\venv\Scripts\python.exe wav2lip_uhq.py -f 1.mp4 -i vera1.mp4
[INFO] Loading the predictor...
[INFO] Loading File...
Processing frame: 0 of 2241
Traceback (most recent call last):
File "F:\wav2lip_uhq\wav2lip_uhq.py", line 183, in
main()
File "F:\wav2lip_uhq\wav2lip_uhq.py", line 154, in main
result = result * (1 - mask_blur) + dst
ValueError: operands could not be broadcast together with shapes (1320,1080,3) (330,270,3)
The file 1.mp4 was created by wave2lip from vera1.mp4 and an audio file.
I have installed ffmpeg and added to PATH, but it still report "missing ffmpeg"
Got this error after generating all my images, seems it couldnt save as a video file
my inference was
python wav2lip_uhq.py -f C:/Users/leolo/Documents/bad2.mp4 -i C:/Users/leolo/Documents/test.mp4
Error:
[INFO] Create Video output!
Traceback (most recent call last):
File "C:\Users\leolo\wav2lip_uhq\wav2lip_uhq.py", line 183, in <module>
main()
File "C:\Users\leolo\wav2lip_uhq\wav2lip_uhq.py", line 170, in main
create_video_from_images(args, frame_number-1)
File "C:\Users\leolo\wav2lip_uhq\wav2lip_uhq.py", line 30, in create_video_from_images
subprocess.run(
File "C:\Users\leolo\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\leolo\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\leolo\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1378, in _execute_child
args = list2cmdline(args)
File "C:\Users\leolo\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 561, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Users\leolo\AppData\Local\Programs\Python\Python310\lib\os.py", line 822, in fsdecode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not int
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.