zhmiao / OpenLongTailRecognition-OLTR

Pytorch implementation for "Large-Scale Long-Tailed Recognition in an Open World" (CVPR 2019 ORAL)
BSD 3-Clause "New" or "Revised" License
839 stars 128 forks source link

ClassAwareSampler configuration #34

Closed jchhuang closed 5 years ago

jchhuang commented 5 years ago

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 commented 5 years ago

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