mmsegmentation/mmseg/datasets/night_driving.py

15 lines
433 B
Python
Raw Normal View History

# Copyright (c) OpenMMLab. All rights reserved.
2022-05-10 20:15:20 +08:00
from mmseg.registry import DATASETS
from .cityscapes import CityscapesDataset
@DATASETS.register_module()
class NightDrivingDataset(CityscapesDataset):
"""NightDrivingDataset dataset."""
2022-05-26 17:13:40 +08:00
def __init__(self, **kwargs) -> None:
super().__init__(
img_suffix='_leftImg8bit.png',
seg_map_suffix='_gtCoarse_labelTrainIds.png',
**kwargs)