mmclassification/mmcls/models/losses
Ma Zerun 15cd34bbef
[Fix] Use zero as default value of `thrs` in metrics. (#341)
* Use zero as default value of `thrs` in metrics. And it accepcts a number
instead of float now.

* Fix unit test comment

* Don't pass thrs if no thrs.
2021-07-18 16:57:21 +08:00
..
__init__.py
accuracy.py [Fix] Use zero as default value of `thrs` in metrics. (#341) 2021-07-18 16:57:21 +08:00
asymmetric_loss.py [Docs] Add API Reference in the docs (#342) 2021-07-14 15:06:50 +08:00
cross_entropy_loss.py [Docs] Add API Reference in the docs (#342) 2021-07-14 15:06:50 +08:00
focal_loss.py [Docs] Add API Reference in the docs (#342) 2021-07-14 15:06:50 +08:00
label_smooth_loss.py [Docs] Add API Reference in the docs (#342) 2021-07-14 15:06:50 +08:00
utils.py [Docs] Add API Reference in the docs (#342) 2021-07-14 15:06:50 +08:00