Closed zhandand closed 1 year ago
https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/f50e375f123fd12dd0ae39e07aa226fadec32f33/data/ClassAwareSampler.py#L37 I wonder why this lined was commented and introduce the variance "num_samples_cls". In my opion, this line can accomplish the same function as the lines below, is that right? Or could you please tell why use variance "num_samples_cls", was that for code efficiency? Thanks a lot!
https://github.com/zhmiao/OpenLongTailRecognition-OLTR/blob/f50e375f123fd12dd0ae39e07aa226fadec32f33/data/ClassAwareSampler.py#L37 I wonder why this lined was commented and introduce the variance "num_samples_cls". In my opion, this line can accomplish the same function as the lines below, is that right? Or could you please tell why use variance "num_samples_cls", was that for code efficiency? Thanks a lot!