datumaro.plugins.data_formats.brats_numpy#

Classes

BratsNumpyBase(path, *[, subset, ctx])

BratsNumpyImporter()

BratsNumpyPath()

class datumaro.plugins.data_formats.brats_numpy.BratsNumpyPath[source]#

Bases: object

IDS_FILE = 'val_ids.p'#
BOXES_FILE = 'val_brain_bbox.p'#
LABELS_FILE = 'labels'#
DATA_SUFFIX = '_data_cropped'#
LABEL_SUFFIX = '_label_cropped'#
class datumaro.plugins.data_formats.brats_numpy.BratsNumpyBase(path: str, *, subset: str | None = None, ctx: ImportContext | None = None)[source]#

Bases: SubsetBase

class datumaro.plugins.data_formats.brats_numpy.BratsNumpyImporter[source]#

Bases: Importer

classmethod detect(context: FormatDetectionContext) None[source]#
classmethod find_sources(path)[source]#
classmethod get_file_extensions() List[str][source]#