1adrianb / face-alignment

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

got some errors #67

Closed ouguozhen closed 6 years ago

ouguozhen commented 6 years ago

hello, thanks you for sharing your code. but l got error that "KeyError:'unexpected key "state_dict" in state_dict' when i try to run detect_landmarks_in_image.py, could you tell me how to fix this?

1adrianb commented 6 years ago

@ouguozhen the version of the models used and of the code is incompatible. Please have a look on this: https://github.com/1adrianb/face-alignment/issues/50

ouguozhen commented 6 years ago

@1adrianb ok, thanks, i will try it