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

ClassAwareSampler configuration #34

Closed
jchhuang opened this issue Aug 26, 2019 · 1 comment
Closed

ClassAwareSampler configuration #34

jchhuang opened this issue Aug 26, 2019 · 1 comment

Comments

@jchhuang
Copy link

Hi, both in the Places and ImageNet, the batch_size and number_samples_cls are configured as 256 and 4, respectively. Does it mean each batch only will contain 256/4=64 categories?

@zhmiao
Copy link
Owner

zhmiao commented Sep 6, 2019

Hello @jchhuang , yes, you are right. for each mini-bach, it will only contain batch_num / samp_size randomly selected categories.

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