mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
* rewrite init function * support dark_zurich test * reset image size * add night * add train_pipeline * init function parameters * remove base dataset config * remove fcn config * update doc * add datasets to README * update doc * fix table of PSPNet config * fix table of PSPNet config * change 'model' tp 'evaluation checkpoint' * fix typos in README_zh-CN Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
14 lines
358 B
Python
14 lines
358 B
Python
from .builder import DATASETS
|
|
from .cityscapes import CityscapesDataset
|
|
|
|
|
|
@DATASETS.register_module()
|
|
class DarkZurichDataset(CityscapesDataset):
|
|
"""DarkZurichDataset dataset."""
|
|
|
|
def __init__(self, **kwargs):
|
|
super().__init__(
|
|
img_suffix='_rgb_anon.png',
|
|
seg_map_suffix='_gt_labelTrainIds.png',
|
|
**kwargs)
|