richardaecn / class-balanced-loss

Class-Balanced Loss Based on Effective Number of Samples. CVPR 2019
MIT License
597 stars 68 forks source link

Is n_y computed from the whole dataset or each batch? #14

Open squirrel16 opened 4 years ago

squirrel16 commented 4 years ago

Is n_y computed from the whole dataset or each batch? Thanks a lot.

developer0hye commented 3 years ago

@squirrel16 I am curious about this. Have you tested this with two options(batch or whole data)?