ShadeAlsha / LTR-weight-balancing

CVPR 2022 - official implementation for "Long-Tailed Recognition via Weight Balancing" https://arxiv.org/abs/2203.14197
MIT License
120 stars 10 forks source link

How to set the imbalance factor for CIFAR100 #10

Open memesoo99 opened 1 year ago

memesoo99 commented 1 year ago

How can toy set the imbalance factor for CIFAR100?

ShadeAlsha commented 1 year ago

For CIFAR-100. You can set the imbalance factor by changing the value of imb_factor in demo1_first-stage-training.py line 81. For example, for imbalance factor 100, we set imb_factor to be equal to 1/100=0.01.