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 ./shape_predictor_68_face_landmarks.dat #14

Closed
zhaolibo1989 opened this issue May 6, 2023 · 2 comments
Closed

Comments

@zhaolibo1989
Copy link

run and error:

(EAMM) root@ubuntu-desktop:~/EAMM# python demo.py
Traceback (most recent call last):
  File "demo.py", line 44, in <module>
    predictor = dlib.shape_predictor('./shape_predictor_68_face_landmarks.dat')
RuntimeError: Unable to open ./shape_predictor_68_face_landmarks.dat

work directory:

(EAMM) root@ubuntu-desktop:~/EAMM# ls
3DDFA_V2         demo               LICENSE            modules          README.md         %SystemDrive%  venv
augmentation.py  demo.py            log                ops.py           requirements.txt  teaser-1.png
config           filter1.py         logger.py          process_data.py  run.py            test
dataset          frames_dataset.py  M003_template.npy  __pycache__      sync_batchnorm    train.py

log:

(EAMM) root@ubuntu-desktop:~/EAMM# tree log -L 2
log
├── 124_52000.pth.tar
├── 1-6000.pth.tar
└── 5-3000.pth.tar

What's going on? ./shape_predictor_68_face_landmarks.dat is missing or not submit?

@zhaolibo1989
Copy link
Author

By the way, however, I found the file download link: http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2.

@zhaolibo1989
Copy link
Author

Emm... just close it.

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