mmsegmentation/mmseg
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
..
apis [Enhance] New-style CPU training and inference. (#1251) 2022-01-28 23:03:01 +08:00
core [Feature] Add BEiT backbone (#1404) 2022-03-30 15:25:10 +08:00
datasets [Feature] Support dataset initialization with file_client (#1402) 2022-03-28 23:53:23 +08:00
models [Fix] Add avg_non_ignore in cross entropy loss (#1409) 2022-03-30 18:32:47 +08:00
ops
utils add multi-processes script (#1238) 2022-01-27 21:18:55 +08:00
__init__.py [Fix] Change the upper version of mmcv to 1.5.0 #1096 2021-12-01 21:16:23 +08:00
version.py Bump v0.22.1 (#1361) 2022-03-09 20:05:44 +08:00