mmsegmentation/tests/test_models/test_losses
Rockey 6665b42159 [Fix] Fix the bug that when all pixels in an image is ignored, the ac… (#1336)
* [Fix] Fix the bug that when all pixels in an image is ignored, the accuracy calculation raises ZeroDivisionError

* use eps

* all close

* add ignore test

* add eps
2022-03-09 13:20:46 +08:00
..
__init__.py
test_ce_loss.py [Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
test_dice_loss.py [Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
test_focal_loss.py [Feature] Add focal loss (#1024) 2021-12-03 00:18:40 -08:00
test_lovasz_loss.py [Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
test_utils.py [Fix] Fix the bug that when all pixels in an image is ignored, the ac… (#1336) 2022-03-09 13:20:46 +08:00