Comments (4)
In src\extract_kp_videos.py
line 16
replace:
face_alignment.LandmarksType._2D
by:
face_alignment.LandmarksType.TWO_D
from sadtalker-video-lip-sync.
俺也一样 @HaSaKiYasuooo 你找到解法了么
from sadtalker-video-lip-sync.
Alternatively, install face_alignment==1.3.4 instead of face_alignment==1.3.5
from sadtalker-video-lip-sync.
-
Navigate to the Directory (required)
cd src/face3d
-
Run the
sed
Command (required)
Usesed
to replaceface_alignment.LandmarksType._2D
withface_alignment.LandmarksType.TWO_D
in the file:sed -i 's/face_alignment.LandmarksType._2D/face_alignment.LandmarksType.TWO_D/g' extract_kp_videos.py
-
Verify the Changes (optional)
To confirm the changes, you can usegrep
:grep "face_alignment.LandmarksType.TWO_D" extract_kp_videos.py
Inspired by @RobinBrackez
from sadtalker-video-lip-sync.
Related Issues (20)
- 分享经验:分辨率低的解决方法 HOT 6
- 我建立了一个非商业仅限技术讨论的群 HOT 1
- 使用--use_DAIN发生了InvalidArgumentError相关错误
- 建立的视频有长度限制吗? HOT 1
- RuntimeError: Unable to open ./checkpoints/shape_predictor_68_face_landmarks.dat
- 是否支持多显卡执行?
- 用python-3.9.13终于成功
- 此项目支持Windows 上面运行么?
- 程序被kill了,有人遇到过什么原因吗 HOT 1
- scipy==1.5.3 在哪下载?pip最高版本1.3?
- enhancer lip 视频脸部出现光条
- 希望可以搞一个在webui上面可以使用的谢谢~
- ModuleNotFoundError: No module named 'skimage'
- How to generate 30fps, instead of 25fps?
- 微调后的wav2lip模型可以直接在项目中使用吗,如果需要使用要如何进行更改? HOT 1
- Who needs high-quality lip sync - contact me! HOT 1
- How to add long audio
- ImportError: libOpenGL.so.0: cannot open shared object file: No such file or directory 应该如何选择opencv和Python版本?
- <command-line>: fatal error: cuda_runtime.h: No such file or directory compilation terminated. ninja: build stopped: subcommand failed.
- AttributeError: 'DAINPredictor' object has no attribute 'model
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 sadtalker-video-lip-sync.