hongfz16 / DS-Net

[CVPR 2021/TPAMI 2023] Rank 1st in the public leaderboard of SemanticKITTI Panoptic Segmentation (2020-11-16)
MIT License
243 stars 29 forks source link

Exact formula to get weights for weighted cross-entropy loss #17

Closed hskim617 closed 2 years ago

hskim617 commented 2 years ago

Hi, in network/model_zoo.py, there are weights for weighted cross-entropy loss(in PolarSpconv class). Could you tell me the exact formula to get each weight in the cross-entropy loss?

yuyang-cloud commented 2 years ago

@hskim617 Hi, I would also like to know the formula to get each weight in the cross-entropy loss, could please share how do you understand? Thanks!