-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown error when performing the demo reconstruction #185
Comments
Same issue. Don't know what to do |
|
I solved by installing face-alignment==1.3.4 |
rewrite the code “self.model = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=False)” to “self.model = face_alignment.FaceAlignment(face_alignment.LandmarksType.TWO_D, flip_input=False)” in DECA\decalib\datasets\detectors.py line 22. |
Thank you very much guys. Both solutions worked for me :-) |
Traceback (most recent call last):
File "C:\Users\alber\DECA\demos\demo_reconstruct.py", line 133, in
main(parser.parse_args())
File "C:\Users\alber\DECA\demos\demo_reconstruct.py", line 42, in main
testdata = datasets.TestData(args.inputpath, iscrop=args.iscrop, face_detector=args.detector, sample_step=args.sample_step)
File "C:\Users\alber\DECA\decalib\datasets\datasets.py", line 71, in init
self.face_detector = detectors.FAN()
File "C:\Users\alber\DECA\decalib\datasets\detectors.py", line 22, in init
self.model = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=False)
File "C:\Users\alber\miniconda3\lib\enum.py", line 437, in getattr
raise AttributeError(name) from None
AttributeError: _2D
The text was updated successfully, but these errors were encountered: