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

test score_label Inconsistent when test images Inconsistent in Same image #13

Open
montensorrt opened this issue Oct 21, 2021 · 2 comments

Comments

@montensorrt
Copy link

First of all, thank you for presenting your work as open source.
When I tested model, I found test score_label changed when test same one image,When the batch_size is not the same, the test result is not the same,I tested 1 image, 2 images, and 3 images in sequence. One of them always exists, but the results are inconsistent in the 3 tests.
such as: Batch_size = 1
score_label: [2.193307 2.3324122 2.3044298]
score_label: [2.193307 2.3324122]
score_label: [2.159736],

When I add an image to the test data, the test result is different from the previous test result, on the same image。
How is this going and How can i modify?
Looking forward to hearing from you.

@montensorrt
Copy link
Author

montensorrt commented Oct 21, 2021

When the test batch_size is greater than the number of images,
score_label: [2.159736]
score_label: [2.1134617 2.0790164]
score_label: [2.1982777 2.3371158 2.3093517]
We can see that when there is only one image, the result is unchanged

@gudovskiy
Copy link
Owner

@montensorrt probably, it is because I normalize likelihoods for convenience. Try to remove it

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