zyh-uaiaaaa / Open-Set-FER

Official implementation of the AAAI2024 paper: Open-Set Facial Expression Recognition
15 stars 2 forks source link

Can you provide a simple demo script? #1

Open Coronal-Halo opened 1 month ago

Coronal-Halo commented 1 month ago

Hi, could you please provide a simple demo script where a custom image is taken by the model to output an emotion label? Your Python notebook does not work due to multiple errors and missing pieces...

zyh-uaiaaaa commented 1 month ago

Sure, I’ll update in two days.

--------------原始邮件-------------- 发件人:"Coronal-Halo @.>; 发送时间:2024年7月15日(星期一) 晚上6:45 收件人:"zyh-uaiaaaa/Open-Set-FER" @.>; 抄送:"Subscribed @.***>; 主题:[zyh-uaiaaaa/Open-Set-FER] Can you provide a simple demo script? (Issue #1)

Hi, could you please provide a simple demo script where a custom image is taken by the model to output an emotion label? Your Python notebook does not work.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

zyh-uaiaaaa commented 1 month ago

In the open_set_detection_test.ipynb, a model is trained using the pseudo labels. The trained model is evaluated on the test set which contains both closed-set and open-set samples. We record the index of the closed-set and open-set samples in order to view the separation of their predictions using the trained model. A better separation means that the model is better for open-set recognition. You only need to download the pretrained ResNet-50 to start training. Could you provide the error information as I do not see the missing pieces.