grey-eye / talking-heads

Our implementation of "Few-Shot Adversarial Learning of Realistic Neural Talking Head Models" (Egor Zakharov et al.)
GNU General Public License v3.0
593 stars 110 forks source link

face_alignment module #17

Closed IMJONEZZ closed 5 years ago

IMJONEZZ commented 5 years ago

In dataset.py there's a command, "from face_alignment import FaceAlignment, LandmarksType" Where can I access that? Currently there's no face_alignment.py in this repo, and I'm having trouble trying to access it as a module.

ModuleNotFoundError Traceback (most recent call last)

in 23 import PIL 24 import numpy as np ---> 25 from face_alignment import FaceAlignment, LandmarksType 26 from torch.utils.data import Dataset 27 ModuleNotFoundError: No module named 'face_alignment'
castelo-software commented 5 years ago

Have you executed the requirements.txt file? it seems like you're missing the face-alignment pip dependency.

IMJONEZZ commented 5 years ago

I definitely have. I'm getting an error that pip cannot find a face-alignment module.

Cortlandd commented 5 years ago

I definitely have. I'm getting an error that pip cannot find a face-alignment module.

https://pypi.org/project/face-alignment/