I use the command you provided to install the face-alignment. And then I run the case code as below:
import face_alignment
from skimage import io
fa = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, flip_input=False)
preds = fa.get_landmarks_from_directory('../test/assets/')
I change the director folder to my own dataset, and run this code, where it reported an error:
AttributeError: partially initialized module 'face_alignment' has no attribute 'FaceAlignment' (most likely due to a circular import). Did you mean: 'face_alignment'?
I use the command you provided to install the face-alignment. And then I run the case code as below:
I change the director folder to my own dataset, and run this code, where it reported an error:
Then how should I do?