yoyo-nb / Thin-Plate-Spline-Motion-Model

[CVPR 2022] Thin-Plate Spline Motion Model for Image Animation.
MIT License
3.38k stars 552 forks source link

face-alignment changed code #76

Open Quickly222 opened 1 year ago

Quickly222 commented 1 year ago

in the version find_best_frame = True there will be a problem to read the actual code from face alignment.

So if you change the demo.py in line 107 to fa = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, flip_input=True, #the 2 is getting to TWO

everything will go on fine.

jhjbch4 commented 1 year ago

few weeks before I had same issue and It went well as what you said. Thank you! :) but now it does not work. I think it has been changed.