DinoMan / speech-driven-animation

949 stars 289 forks source link

Face Alignment library issue #73

Closed kundan121 closed 11 months ago

kundan121 commented 1 year ago

Currently your VideoAnimator doesn't work as you are using "face_alignment.LandmarksType._2D" object which currently doesn't exist. When I used your repository, I got an error due to this object.

I have fixed this error for me. As "face-alignment" library is being updated so we also need to update this.

Please add me as a contributor, so that I can create a pull request to fix this issue.

weirui-kong commented 1 year ago

In sda.py, just simply change face_alignment.LandmarksType._2D to face_alignment.LandmarksType.TWO_D.

I am using Python 3.11 and all the dependencies are the latest version. Maybe some of them changed attributes in the code.

DinoMan commented 11 months ago

Thanks for pointing out the issue I have fixed it now.