Audio-driven-TalkingFace-HeadPose icon indicating copy to clipboard operation
Audio-driven-TalkingFace-HeadPose copied to clipboard

RuntimeError: Unable to open ../Deep3DFaceReconstruction/shape_predictor_68_face_landmarks.dat

Open ghost opened this issue 4 years ago • 1 comments

RuntimeError: Unable to open ../Deep3DFaceReconstruction/shape_predictor_68_face_landmarks.dat where is the shape_predictor_68_face_landmarks.dat? it is not in Deep3DFaceReconstruction.

ghost avatar Dec 02 '20 07:12 ghost

Hey, not sure if you found out already but I had the same issue.

shape_predictor_68_face_landmarks.dat is located in the Deep3DFaceReconstruction folder BUT in the folder of the models that you would have to download from their Baidu or Google Drive link. There is also a Deep3DFaceReconstruction folder in this repo BUT shape_predictor_68_face_landmarks.dat will not be there.

I guess the best way is to download the repo AND the models folder from either the Baidu or Google Drive link, copy shape_predictor_68_face_landmarks.dat from the Deep3DFaceReconstruction folder in the models folder, and paste it into the Deep3DFaceReconstruction folder in this repo to run the extract_frame1.py script successfully.

jordanfranklin1 avatar Feb 28 '21 18:02 jordanfranklin1