Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model selection #190

Open
ivan-chai opened this issue Sep 26, 2023 · 1 comment
Open

Model selection #190

ivan-chai opened this issue Sep 26, 2023 · 1 comment

Comments

@ivan-chai
Copy link

Hi!

It's not clear from the paper whether the best or last training checkpoint is used for testing. What is the default choice for both small datasets and ImageNet?

@zjysteven
Copy link
Collaborator

For most training it was selected according to the validation ID accuracy.

if val_metrics['acc'] >= self.best_acc:

For certain methods the selection criterion could be different (e.g., OpenGAN explicitly needs to look at val OOD AUROC). You can refer to the code under https://github.com/Jingkang50/OpenOOD/tree/main/openood/recorders for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants