radekd91 / emoca

Official repository accompanying a CVPR 2022 paper EMOCA: Emotion Driven Monocular Face Capture And Animation. EMOCA takes a single image of a face as input and produces a 3D reconstruction. EMOCA sets the new standard on reconstructing highly emotional images in-the-wild
https://emoca.is.tue.mpg.de/
Other
685 stars 89 forks source link

AttributeError: 'NoneType' object has no attribute 'train' #47

Open counterattack-hub opened 1 year ago

counterattack-hub commented 1 year ago

When I executed python demos/test_emotion_recognition_on_images.py --model_type 3dmm --model_name EMOCA-emorec, it showed AttributeError: 'NoneType' object has no attribute 'train'. Then I looked up the reason and found that there was no pre-trained DECA model.

Y-huange commented 1 year ago

@counterattack-hub Have you solved this problem yet?

Y-huange commented 11 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

GJandy commented 9 months ago

@counterattack-hub I have met the same issue.Have you solved this problem yet?

tanshuai0219 commented 8 months ago

I got the same problem and solved it by set: assets/EmotionRecognition/face_reconstruction_based/EMOCA-emorec/cfg.yaml line 31:as /your_path/emoca-release-EMOCA_v2/assets/EMOCA/models/DECA/detail/checkpoints/deca-epoch=00-val_loss/dataloader_idx_0=2.2233.ckpt

Y-huange commented 8 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。