yerfor / GeneFace

GeneFace: Generalized and High-Fidelity 3D Talking Face Synthesis; ICLR 2023; Official code
MIT License
2.43k stars 290 forks source link

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

Open zhanga9 opened 7 months ago

zhanga9 commented 7 months ago

[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 commented 7 months ago

Replace _2D with TWO_D

gt2ming commented 4 months ago

解决方案如jinqiupeter所说

image