mmpretrain/mmcls/models/losses
whcao af83e981ac
[Bug]Fix label smooth bug (#203)
* add convert_to_one_hot

* add test_label_smooth_loss

* add my label_smooth_loss

* fix CELoss bug

* test new label smooth loss

* LabelSmoothLoss downward compatibility

* add some comments

* remove the old version of LabelSmoothLoss

* add some comments

* add some comments

* add some comments

* add label smooth to config
2021-04-13 13:53:56 +08:00
..
__init__.py [Bug]Fix label smooth bug (#203) 2021-04-13 13:53:56 +08:00
accuracy.py [Feature] Add thrs in eval_metrics (#146) 2021-01-25 17:54:22 +08:00
asymmetric_loss.py [Fix] Fix optional issues in docstring (#138) 2021-01-14 11:09:08 +08:00
cross_entropy_loss.py [Bug]Fix label smooth bug (#203) 2021-04-13 13:53:56 +08:00
focal_loss.py [Fix] Fix optional issues in docstring (#138) 2021-01-14 11:09:08 +08:00
label_smooth_loss.py [Bug]Fix label smooth bug (#203) 2021-04-13 13:53:56 +08:00
utils.py [Bug]Fix label smooth bug (#203) 2021-04-13 13:53:56 +08:00