Skip to content
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

报错AttributeError: _2D,大神们,如何解决?在线等 #237

Open
zhanga9 opened this issue Nov 20, 2023 · 2 comments
Open

报错AttributeError: _2D,大神们,如何解决?在线等 #237

zhanga9 opened this issue Nov 20, 2023 · 2 comments

Comments

@zhanga9
Copy link

zhanga9 commented Nov 20, 2023

[INFO] ===== extract face landmarks from data/processed/videos/May\ori_imgs =====
Traceback (most recent call last):
File "F:\GeneFace-main\data_util\process.py", line 438, in
extract_landmarks(ori_imgs_dir)
File "F:\GeneFace-main\data_util\process.py", line 55, in extract_landmarks
fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=False)
File "C:\Users\zhan.conda\envs\geneface\lib\enum.py", line 429, in getattr
raise AttributeError(name) from None
AttributeError: _2D

@jinqiupeter
Copy link

Replace _2D with TWO_D

@gt2ming
Copy link

gt2ming commented Feb 29, 2024

解决方案如jinqiupeter所说

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants