mmsegmentation/mmseg
Miao Zheng 6ba4696648
[Enhancement] Support input gt seg map is not 2D (#2739)
Thanks for your contribution and we appreciate it a lot. The following
instructions would make your pull request more healthy and more easily
get feedback. If you do not understand some items, don't worry, just
make the pull request and seek help from maintainers.

## Motivation

fix #2593

## Modification

1. Only when gt seg map is 2D, extend its shape to 3D PixelData 
2. If seg map is not 2D, we raised warning for users.

---------

Co-authored-by: xiexinch <xiexinch@outlook.com>
2023-03-14 23:14:41 +08:00
..
apis [Enhancement] Modify interface of MMSeginferencer and add docs (#2658) 2023-03-03 14:37:54 +08:00
datasets [Enhancement] Support input gt seg map is not 2D (#2739) 2023-03-14 23:14:41 +08:00
engine [FIx] Set default `backend_args` values to None (#2597) 2023-02-16 15:33:52 +08:00
evaluation [Fix] Support format_result and fix prefix param in cityscape metric, and rename CitysMetric to CityscapesMetric (#2660) 2023-03-07 17:57:37 +08:00
models [Fix] Add out_channels in `CascadeEncoderDecoder` and update OCRNet and MobileNet v2 results (#2656) 2023-02-28 15:57:43 +08:00
registry [Feature] Support auto import modules from registry. (#2481) 2023-02-23 20:33:17 +08:00
structures [Doc] Add Data Structures and Elements (#2070) 2022-10-28 22:22:44 +08:00
utils Rename typing.py to typing_utils.py (#2548) 2023-02-01 19:11:38 +08:00
visualization [Enhancement] Modify interface of MMSeginferencer and add docs (#2658) 2023-03-03 14:37:54 +08:00
__init__.py [Feature] Support MMSegInferencer (#2413) 2023-02-23 21:16:19 +08:00
version.py bump v1.0.0rc6 (#2647) 2023-03-03 16:54:12 +08:00