Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Unable to open ./checkpoints/shape_predictor_68_face_landmarks.dat #77

Closed
TzyTman opened this issue Mar 4, 2024 · 0 comments

Comments

@TzyTman
Copy link

TzyTman commented Mar 4, 2024

python inference.py --driven_audio /home/mk/SadTalker-Video-Lip-Sync-master/input_audio/xiaobao.MP3 --source_video /home/mk/SadTalker-Video-Lip-Sync-master/input_video/xiaobao.mp4 --time_step 0.5
./checkpoints/epoch_20.pth
Traceback (most recent call last):
File "inference.py", line 123, in
main(args)
File "inference.py", line 47, in main
preprocess_model = CropAndExtract(path_of_lm_croper, path_of_net_recon_model, dir_of_BFM_fitting, device)
File "/home/mk/SadTalker-Video-Lip-Sync-master/src/utils/preprocess.py", line 43, in init
self.croper = Croper(path_of_lm_croper)
File "/home/mk/SadTalker-Video-Lip-Sync-master/src/utils/croper.py", line 38, in init
self.predictor = dlib.shape_predictor(path_of_lm)
RuntimeError: Unable to open ./checkpoints/shape_predictor_68_face_landmarks.dat

@TzyTman TzyTman closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant