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

Clarification on how test time accuracy is calculated #6

Closed
devavratTomar opened this issue Aug 11, 2022 · 2 comments
Closed

Clarification on how test time accuracy is calculated #6

devavratTomar opened this issue Aug 11, 2022 · 2 comments

Comments

@devavratTomar
Copy link

Dear Authors,
Many thanks for the great work. While going through the paper I could not understand how you compute the final accuracy on the test samples. Is the accuracy computed in an online manner (evaluate the model on the current batch as it trains on) or offline manner (evaluate the whole test set after training is finished)?

Thanks.

@YuejiangLIU
Copy link
Contributor

Thanks for your interest! We evaluated TTA methods offline, i.e., the accuracy of the whole test set after adaptation. Please refer to the following lines of our code:

err_cls = test(teloader, net)[0]

err_cls = test(teloader, net)[0]

@devavratTomar
Copy link
Author

Thank you!

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