Emotion-FAN icon indicating copy to clipboard operation
Emotion-FAN copied to clipboard

ck

Open jianbaba opened this issue 5 years ago • 10 comments

Hello, I used the demo training script to train on ck. The training set was divided into 10, 9 training, and 1 test. The accuracy rate was only 92.5%. (The learning rate is set according to the thesis.) Is it a problem with the demo training script?(I removed the contempt data)

jianbaba avatar Jan 14 '20 08:01 jianbaba

The performance is too low. I thought the accuracy could easy beyond 97% if you use my method. You can use the pretrained model that I provide. My accuracy is based on 10-fold cross-validation. so we achieve 100% accuracy on 9 fold and over 95% on 1 fold, a totally 99.69% accuracy I achieved. I will update my 10-fold list.

Open-Debin avatar Jan 15 '20 05:01 Open-Debin

I use the demo script ofDemo_AFEW_Attention.py. Is this the reason?

jianbaba avatar Jan 15 '20 06:01 jianbaba

I have update the CK+ 10-fold list. Answer: The core code is similar, just some parameter is different like learning rate, Just try some different. CK+ is simple, take it easy.

Open-Debin avatar Jan 15 '20 07:01 Open-Debin

thanks

jianbaba avatar Jan 15 '20 07:01 jianbaba

Is there a guidance of the CK+ dataset training? How to use the 10-fold list?

EternalImmortal avatar Dec 12 '20 07:12 EternalImmortal

@EternalImmortal Thanks for your attention. Please see my published CK+ dataset list. The list divided into 10-fold, selecting 9-fold for training and remaining 1-fold for testing. for example [1,2,3,4,5,6,7,8,9] for training, [10] for testing. Or you can use [1,2,3,5,6,7,8,9,10] for training and [4] for testing. Actually, there are 10-kinds of options, you should report the average accuracy on each fold that used for testing: (fold1_acc + fold2_acc + ... + fold10_acc)/10.

Notice, you should train 10 models from corresponding split rather than training one model used for all split testing!! This is the basic rule.

I hope my answer will help you.

Open-Debin avatar Dec 12 '20 14:12 Open-Debin

@EternalImmortal Thanks for your attention. Please see my published CK+ dataset list. The list divided into 10-fold, selecting 9-fold for training and remaining 1-fold for testing. for example [1,2,3,4,5,6,7,8,9] for training, [10] for testing. Or you can use [1,2,3,5,6,7,8,9,10] for training and [4] for testing. Actually, there are 10-kinds of options, you should report the average accuracy on each fold that used for testing: (fold1_acc + fold2_acc + ... + fold10_acc)/10.

Notice, you should train 10 models from corresponding split rather than training one model used for all split testing!! This is the basic rule.

I hope my answer will help you.

Thanks a lot for your reply. I try to run the model but got a new error. Plz refer to the newest issue.

EternalImmortal avatar Dec 12 '20 18:12 EternalImmortal

@EternalImmortal @jianbaba Merry Christmas! I recently update the Emotion-FAN, new features include data process, environment install, CK+ code, and Baseline code. Also, you can find the old version directory of Emotion-FAN in the README.md. I hope my new updates can help you greatly. Please see the Emotion-FAN for more details.

Open-Debin avatar Dec 27 '20 01:12 Open-Debin

@EternalImmortal @jianbaba Merry Christmas! I recently update the Emotion-FAN, new features include data process, environment install, CK+ code, and Baseline code. Also, you can find the old version directory of Emotion-FAN in the README.md. I hope my new updates can help you greatly. Please see the Emotion-FAN for more details.

hi,i recently run your demo on CK+,but my 10 folds accuracy is around 92%,could you please give me some advice? i use your pretrained model and 10 fold list.

fw-codes-files avatar Dec 22 '22 11:12 fw-codes-files

@EternalImmortal @jianbaba Merry Christmas! I recently update the Emotion-FAN, new features include data process, environment install, CK+ code, and Baseline code. Also, you can find the old version directory of Emotion-FAN in the README.md. I hope my new updates can help you greatly. Please see the Emotion-FAN for more details.

hi,i recently run your demo on CK+,but my 10 folds accuracy is around 92%,could you please give me some advice? i use your pretrained model and 10 fold list.

JOKER-3-z avatar Jul 26 '23 04:07 JOKER-3-z