run main_encoder.py --c FerPlus_posterv2.yaml,all args are in config file
You need to download the pre-trained IR50 and landmark models and place them in the corresponding locations according to the error prompts. and all the best models,train logs and train settings for rafdb,affectnet,fer+ and source code can be download from https://pan.baidu.com/s/1KmbNIIGHXfwuWUyArSSKXg?pwd=sdt7 the datases's link can be found in the paper https://www.nature.com/articles/s41598-026-38734-x