FuxiCV / MeInGame

MeInGame: Create a Game Character Face from a Single Portrait, AAAI 2021
MIT License
653 stars 119 forks source link

ModuleNotFoundError: No module named 'face_alignment.models' #10

Closed Yueming6568 closed 3 years ago

Yueming6568 commented 3 years ago

Thanks for sharing your great work

I got some error when run the code

python main.py -m train

image

Yueming6568 commented 3 years ago

I can not find those files

from face_alignment.models import FAN, ResNetDepth from face_alignment.utils import *

Agent-INF commented 3 years ago

@Yueming6568 This may be caused by an incompatible version of the face-alignment package. Please try to uninstall it:

pip uninstall face-alignment

and then reinstall it:

pip install face-alignment==1.1.1
Yueming6568 commented 3 years ago

thank you for your answer! It helped me a lot