mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
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 Please describe the motivation of this PR and the goal you want to achieve through this PR. ## Modification Please briefly describe what modification is made in this PR. 1. add `NYUDataset`class 2. add script to process NYU dataset 3. add transforms for loading depth map 4. add docs & unittest ## BC-breaking (Optional) Does the modification introduce changes that break the backward-compatibility of the downstream repos? If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR. ## Use cases (Optional) If this PR introduces a new feature, it is better to list some use cases here, and update the documentation. ## Checklist 1. Pre-commit or other linting tools are used to fix the potential lint issues. 5. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness. 6. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMDet3D. 7. The documentation has been modified accordingly, like docstring or example tutorials.
65 lines
3.1 KiB
Python
65 lines
3.1 KiB
Python
# Copyright (c) OpenMMLab. All rights reserved.
|
|
# yapf: disable
|
|
from .ade import ADE20KDataset
|
|
from .basesegdataset import BaseCDDataset, BaseSegDataset
|
|
from .bdd100k import BDD100KDataset
|
|
from .chase_db1 import ChaseDB1Dataset
|
|
from .cityscapes import CityscapesDataset
|
|
from .coco_stuff import COCOStuffDataset
|
|
from .dark_zurich import DarkZurichDataset
|
|
from .dataset_wrappers import MultiImageMixDataset
|
|
from .decathlon import DecathlonDataset
|
|
from .drive import DRIVEDataset
|
|
from .dsdl import DSDLSegDataset
|
|
from .hrf import HRFDataset
|
|
from .isaid import iSAIDDataset
|
|
from .isprs import ISPRSDataset
|
|
from .levir import LEVIRCDDataset
|
|
from .lip import LIPDataset
|
|
from .loveda import LoveDADataset
|
|
from .mapillary import MapillaryDataset_v1, MapillaryDataset_v2
|
|
from .night_driving import NightDrivingDataset
|
|
from .nyu import NYUDataset
|
|
from .pascal_context import PascalContextDataset, PascalContextDataset59
|
|
from .potsdam import PotsdamDataset
|
|
from .refuge import REFUGEDataset
|
|
from .stare import STAREDataset
|
|
from .synapse import SynapseDataset
|
|
# yapf: disable
|
|
from .transforms import (CLAHE, AdjustGamma, Albu, BioMedical3DPad,
|
|
BioMedical3DRandomCrop, BioMedical3DRandomFlip,
|
|
BioMedicalGaussianBlur, BioMedicalGaussianNoise,
|
|
BioMedicalRandomGamma, ConcatCDInput, GenerateEdge,
|
|
LoadAnnotations, LoadBiomedicalAnnotation,
|
|
LoadBiomedicalData, LoadBiomedicalImageFromFile,
|
|
LoadImageFromNDArray, LoadMultipleRSImageFromFile,
|
|
LoadSingleRSImageFromFile, PackSegInputs,
|
|
PhotoMetricDistortion, RandomCrop, RandomCutOut,
|
|
RandomMosaic, RandomRotate, RandomRotFlip, Rerange,
|
|
ResizeShortestEdge, ResizeToMultiple, RGB2Gray,
|
|
SegRescale)
|
|
from .voc import PascalVOCDataset
|
|
|
|
# yapf: enable
|
|
__all__ = [
|
|
'BaseSegDataset', 'BioMedical3DRandomCrop', 'BioMedical3DRandomFlip',
|
|
'CityscapesDataset', 'PascalVOCDataset', 'ADE20KDataset',
|
|
'PascalContextDataset', 'PascalContextDataset59', 'ChaseDB1Dataset',
|
|
'DRIVEDataset', 'HRFDataset', 'STAREDataset', 'DarkZurichDataset',
|
|
'NightDrivingDataset', 'COCOStuffDataset', 'LoveDADataset',
|
|
'MultiImageMixDataset', 'iSAIDDataset', 'ISPRSDataset', 'PotsdamDataset',
|
|
'LoadAnnotations', 'RandomCrop', 'SegRescale', 'PhotoMetricDistortion',
|
|
'RandomRotate', 'AdjustGamma', 'CLAHE', 'Rerange', 'RGB2Gray',
|
|
'RandomCutOut', 'RandomMosaic', 'PackSegInputs', 'ResizeToMultiple',
|
|
'LoadImageFromNDArray', 'LoadBiomedicalImageFromFile',
|
|
'LoadBiomedicalAnnotation', 'LoadBiomedicalData', 'GenerateEdge',
|
|
'DecathlonDataset', 'LIPDataset', 'ResizeShortestEdge',
|
|
'BioMedicalGaussianNoise', 'BioMedicalGaussianBlur',
|
|
'BioMedicalRandomGamma', 'BioMedical3DPad', 'RandomRotFlip',
|
|
'SynapseDataset', 'REFUGEDataset', 'MapillaryDataset_v1',
|
|
'MapillaryDataset_v2', 'Albu', 'LEVIRCDDataset',
|
|
'LoadMultipleRSImageFromFile', 'LoadSingleRSImageFromFile',
|
|
'ConcatCDInput', 'BaseCDDataset', 'DSDLSegDataset', 'BDD100KDataset',
|
|
'NYUDataset'
|
|
]
|