yiranran/Audio-driven-TalkingFace-HeadPose

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

Opened this issue · 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.

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.