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 question on num_large_crops #12

Closed
JosephKJ opened this issue Dec 15, 2021 · 2 comments
Closed

Clarification question on num_large_crops #12

JosephKJ opened this issue Dec 15, 2021 · 2 comments

Comments

@JosephKJ
Copy link
Contributor

Hi Enrico,

Just a clarification question. If I understand correctly, num_large_crops basically controls the number of augmented versions of an image. Can you confirm?

As num_large_crops is set to 2, we basically have two two augmented versions of the same image in each mini-batch. These are indeed used for swapped prediction. Is my understanding correct?

Please do get back when you get a chance.

Thanks,
Joseph

@DonkeyShot21
Copy link
Owner

Yes, num_large_crops controls the number of large crops that are used for generating the pseudo labels. There is also num_small_crops that controls the number of small crops for multicrop. The small crops are not used to generate pseudo labels, their output is only compared with the output of the pseudo-labels generated with the large crops.

@JosephKJ
Copy link
Contributor Author

Many thanks for clarifying, Enrico!

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