Comments (11)
from video-retalking.
First you should check if there are any frames in your input video that don't have faces. You should cut out these clips.
In some cases, even though the input video contains full faces, the pre-trained detector still fails to detect them.
In my experience, when the face resolution is too large or the face area proportion is too large, it may not be detected. This may be related to the face detector's training set.
from video-retalking.
fix this bug:
mask_sharp = np.zeros((height, width), dtype=np.float32)
from video-retalking.
Sorry for the confusing error.
The reason seems to be that one frame in the video fails to detect a face.
The GPEN detection code is here.
from video-retalking.
fix this bug:
mask_sharp = np.zeros((height, width), dtype=np.float32)
fix this bug:
mask_sharp = np.zeros((height, width), dtype=np.float32)
Where to write this line of code
from video-retalking.
I cant see the temps ?
from video-retalking.
Thanks for getting back to me, I bypassed that bit of code and ran into more errors. Eventually, I got an error telling me "a face wasn't detected". I didn't realize that was causing all the issues, thank you for telling me!
In situations like this, what's the best course of action? A different source video?
from video-retalking.
The source definitely has a face in every frame, but I think it may be face area proportion. I cropped the video quite a bit for my test and I'll bet that's why it's having trouble.
Thanks so much for your help and fast response. This project is super exciting and I'm anticipating being blown away by my own results... as soon as I get an actual render. 😅
from video-retalking.
@PanJinquan Can you specify where to insert that piece of code?
from video-retalking.
Hi! If i'm using colab version - where should i put this?
from video-retalking.
@Fillllllllllll
https://github.com/OpenTalker/video-retalking/blob/main/third_part/GPEN/gpen_face_enhancer.py
from video-retalking.
Related Issues (20)
- fused/fused.so
- Hi I am new to open source HOT 1
- Could you please share me the training code?
- it would be good if it's working with just text input
- No output after FaceDet : 100%,^C HOT 1
- ImportError: cannot import name 'packaging' from 'pkg_resources' HOT 4
- Issue if the Video start with a pause.
- ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' HOT 6
- Understanding Model Capabilities
- Any possibilities to make the video result better?
- New to tis but have an error stopping me can anyone hhelp? HOT 1
- ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects HOT 9
- PROBLEM [Errno 2] No such file or directory: 'requirements.txt'
- Hello babe HOT 1
- Hey
- Video result appeared to just be original video with lip sync
- Issue with Output Video Quality Despite 1080P Input HOT 1
- can it be done real time
- [Step 6] Error opening input file temp/temp/result.mp4.
- dockerfile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video-retalking.