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

how to compute centroids? #62

Closed Vickeyhw closed 4 years ago

Vickeyhw commented 4 years ago

it seems that you compute the centroids only once when initializing the model. But after training the model , the feature extracted from training data should have changed, the centroids should also change. Why not compute centroids in the training process?