1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.89k stars 1.33k forks source link

Dlib detector loading raises exception. #223

Closed felmoreno1726 closed 3 years ago

felmoreno1726 commented 3 years ago

Dlib detector loading throws an error.

File "main.py", line 128, in fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, device=args.device, face_detector=args.face_detector) File "/home/pipemon/projects/Gaze/GazeController/venv/lib/python3.6/site-packages/face_alignment/api.py", line 69, in init self.face_detector = face_detector_module.FaceDetector(device=device, verbose=verbose) File "/home/pipemon/projects/Gaze/GazeController/venv/lib/python3.6/site-packages/face_alignment/detection/dlib/dlib_detector.py", line 36, in init request_file.urlretrieve( File "/home/pipemon/.pyenv/versions/3.6.9/lib/python3.6/urllib/request.py", line 258, in urlretrieve tfp = open(filename, 'wb') FileNotFoundError: [Errno 2] No such file or directory: '/home/pipemon/.face_alignment/data/mmod_human_face_detector.dat.download'