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

error with the append function #63

Closed MTrac closed 6 years ago

MTrac commented 6 years ago

thank you for that library.

I get that error

Traceback (most recent call last): File "", line 1, in File "build/bdist.linux-x86_64/egg/face_alignment/api.py", line 225, in process_folder TypeError: append() takes exactly one argument (2 given)

when I run

import face_alignment from skimage import io

fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, enable_cuda=True, flip_input=False)

preds = fa.process_folder('splitted', all_faces=True)

Is there any obvious reason ?

Thank You for your time

1adrianb commented 6 years ago

Sorry, it was an issue in the code. Please update to the last version and try again. Thanks