mmsegmentation/mmseg/datasets
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
..
transforms [Enhancement] Support input gt seg map is not 2D (#2739) 2023-03-14 23:14:41 +08:00
__init__.py CodeCamp #139 [Feature] Support REFUGE dataset. (#2554) 2023-02-03 16:02:19 +08:00
ade.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
basesegdataset.py [FIx] Set default `backend_args` values to None (#2597) 2023-02-16 15:33:52 +08:00
chase_db1.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
cityscapes.py [Fix] Fix repo based on refactoring standard (#1869) 2022-08-19 20:50:02 +08:00
coco_stuff.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
dark_zurich.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
dataset_wrappers.py [Feature] Add P1 DataTransform (#1843) 2022-08-19 20:50:01 +08:00
decathlon.py [Feature]Add Decathlon dataset (#2227) 2022-10-26 20:10:42 +08:00
drive.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
hrf.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
isaid.py [Refactor] Refactor fileio (#2543) 2023-02-01 17:53:22 +08:00
isprs.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
lip.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
loveda.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
night_driving.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
pascal_context.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
potsdam.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
refuge.py CodeCamp #139 [Feature] Support REFUGE dataset. (#2554) 2023-02-03 16:02:19 +08:00
stare.py [Fix]Add input argument for datasets (#2379) 2022-12-05 22:27:04 +08:00
synapse.py CodeCamp #140 [New] [Feature] Add synapse dataset and data augmentation in dev-1.x. (#2432) 2023-01-06 16:14:54 +08:00
voc.py [Refactor] Refactor fileio (#2543) 2023-02-01 17:53:22 +08:00