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

AverageMeter is not correct in test.py #4

Open
dreamerlin opened this issue Aug 3, 2020 · 1 comment
Open

AverageMeter is not correct in test.py #4

dreamerlin opened this issue Aug 3, 2020 · 1 comment

Comments

@dreamerlin
Copy link

AverageMeter in TIN/utils.py which is used in test.py is not correct.

The AverageMeter in this file only calculates the acc with the history list, which is with self.length long. So the final ouput is not right. It can be reproduced by changing the batch size of the test, the acc will also change, which is abnormal.

I think it should use AverageMeter in this.

deepcs233 added a commit that referenced this issue Nov 25, 2020
Fix bug of Issue #4
@deepcs233
Copy link
Owner

Have fixed it in the latest version

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