wangzhuo2019 / SSAN

Domain Generalization via Shuffled Style Assembly for Face Anti-Spoofing, CVPR2022.
MIT License
93 stars 22 forks source link

Validation and test set seems to be the same ? #14

Open koushiksrivats opened 1 year ago

koushiksrivats commented 1 year ago

Dear Authors Thanks for the great work.

I was going through your code to understand how you have used each of the 4 datasets for cross dataset training and testing.

Observations:

  1. As per the code in the data_merge file, you are loading the target dataset as your test set (which seems fine).

  2. However, you seem to be using the target dataset as your validation set to compute the HTER and AUC scores after every epoch, and choose the epoch with the best score on the target dataset. training file for reference. Example: Lets choose OCIM protocol. For every epoch, you seem to be training on OCI and testing on M and choosing the epoch with the best score on M.

Questions:

Kindly request you to clarify the same.

Thanks

yeldartoktasynov commented 7 months ago

I have same confusion, so the same question.