mmpretrain/mmcls/models/losses
Ma Zerun 84a939f858
Refactor LabelSmoothLoss (#285)
* Refector label smooth loss, now support mode `original`, `classy_vision`
and `multi_label`.

* Add unittests for label smooth loss.

* Improve docstring of LSR
2021-06-12 21:32:18 +08:00
..
__init__.py [Bug]Fix label smooth bug (#203) 2021-04-13 13:53:56 +08:00
accuracy.py Update CONTRIBUTING.md according to mmcv (#210) 2021-04-14 21:22:37 +08:00
asymmetric_loss.py Update CONTRIBUTING.md according to mmcv (#210) 2021-04-14 21:22:37 +08:00
cross_entropy_loss.py Update CONTRIBUTING.md according to mmcv (#210) 2021-04-14 21:22:37 +08:00
focal_loss.py Update CONTRIBUTING.md according to mmcv (#210) 2021-04-14 21:22:37 +08:00
label_smooth_loss.py Refactor LabelSmoothLoss (#285) 2021-06-12 21:32:18 +08:00
utils.py Update CONTRIBUTING.md according to mmcv (#210) 2021-04-14 21:22:37 +08:00