mmsegmentation/tests
MengzhangLI cc89c8d18d [Fix] Add avg_non_ignore in cross entropy loss (#1409)
* [Fix] Add avg_non_ignore in cross entropy loss

* [Fix] Add avg_non_ignore in cross entropy loss

* add docstring

* fix ut

* fix docstring and comments

* fix

* fix bce

* fix avg_factor in BCE and add more ut

* add avg_non_ignore

* add more ut

* fix part of ut

* fix part of ut

* test avg_non_ignore would not affect ce/bce when reduction none/sum

* test avg_non_ignore would not affect ce/bce when reduction none/sum/mean

* re-organize ut

* re-organize ut

* re-organize ut

* re-organize hardcode case

* fix parts of comments

* fix another parts of comments

* fix
2022-03-30 18:32:47 +08:00
..
data [Feature] Support iSAID aerial dataset. (#1115) 2022-02-17 19:07:32 +08:00
test_apis [Enhancement] Revise pre-commit-hooks (#1315) 2022-02-23 23:44:27 +08:00
test_core [Feature] Add BEiT backbone (#1404) 2022-03-30 15:25:10 +08:00
test_data [Feature] Add `min_size` arg in `Resize` to keep the shape after resize bigger than slide window (#1318) 2022-03-01 16:25:48 +08:00
test_models [Fix] Add avg_non_ignore in cross entropy loss (#1409) 2022-03-30 18:32:47 +08:00
test_utils add multi-processes script (#1238) 2022-01-27 21:18:55 +08:00
__init__.py [Dcos] Add header for files (#796) 2021-08-16 23:16:55 -07:00
test_config.py [Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
test_digit_version.py [Dcos] Add header for files (#796) 2021-08-16 23:16:55 -07:00
test_eval_hook.py [Refactor] Support progressive test with fewer memory cost (#709) 2021-08-19 20:44:58 -07:00
test_inference.py [Dcos] Add header for files (#796) 2021-08-16 23:16:55 -07:00
test_metrics.py [Enhancement] Upgrade isort in pre-commit hook (#1270) 2022-02-08 19:06:33 +08:00
test_sampler.py [Fix] Change `self.loss_decode` back to `dict` in Single Loss situation. (#1002) 2021-11-01 15:28:37 +08:00