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

Testing code with geometric self-ensemble #2

Closed
ghost opened this issue Aug 27, 2021 · 3 comments
Closed

Testing code with geometric self-ensemble #2

ghost opened this issue Aug 27, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 27, 2021

Thank you for your great works.
I want to evaluate the images using your model with geometric self-ensemble.
Is there a testing code with self-ensemble?

Thanks

@chosj95
Copy link
Owner

chosj95 commented Aug 30, 2021

You can obtain the results by rotating the input image by 0, 90, 180, 270 degrees and averaging the result images.

@ghost
Copy link
Author

ghost commented Aug 30, 2021

Thanks for the reply.
Did you use 8 images that were flipped left and right and rotated 90,180,270 degrees?
And when you measure the runtime, did you pass each of the 8 images to the model?
That is, did you pass the image to the model 8 times?
Or did you pass it to the model twice using batch?

@chosj95
Copy link
Owner

chosj95 commented Aug 30, 2021

We only used rotated images (did not use flipped)(4 images in total).
For measurement, we passed images to the model twice using batch because the sizes of the input images in the same batch must be the same.
For example, the images rotated by 0, 180 are allocated with the first batch.

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

1 participant