emoca icon indicating copy to clipboard operation
emoca copied to clipboard

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

Open counterattack-hub opened this issue 1 year ago • 5 comments

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.

counterattack-hub avatar Apr 27 '23 02:04 counterattack-hub

@counterattack-hub Have you solved this problem yet?

Y-huange avatar Jul 13 '23 02:07 Y-huange

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

Y-huange avatar Sep 30 '23 20:09 Y-huange

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

GJandy avatar Nov 11 '23 15:11 GJandy

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

tanshuai0219 avatar Dec 13 '23 08:12 tanshuai0219

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

Y-huange avatar Dec 13 '23 08:12 Y-huange