datumaro.plugins.data_formats.coco.base#

Classes

CocoCaptionsBase(path, **kwargs)

CocoImageInfoBase(path, **kwargs)

CocoInstancesBase(path, **kwargs)

CocoLabelsBase(path, **kwargs)

CocoPanopticBase(path, **kwargs)

CocoPersonKeypointsBase(path, **kwargs)

CocoStuffBase(path, **kwargs)

DirPathExtracter()

MmdetDirPathExtracter()

RoboflowDirPathExtracter()

class datumaro.plugins.data_formats.coco.base.DirPathExtracter[source]#

Bases: object

static find_rootpath(path: str) str[source]#

Find root path from annotation json file path.

static find_images_dir(rootpath: str, subset: str) str[source]#

Find images directory from the root path.

class datumaro.plugins.data_formats.coco.base.RoboflowDirPathExtracter[source]#

Bases: DirPathExtracter

static find_rootpath(path: str) str[source]#

Find root path from annotation json file path.

static find_images_dir(rootpath: str, subset: str) str[source]#

Find images directory from the root path.

class datumaro.plugins.data_formats.coco.base.MmdetDirPathExtracter[source]#

Bases: DirPathExtracter

static find_rootpath(path: str) str[source]#

Find root path from annotation json file path.

static find_images_dir(rootpath: str, subset: str) str[source]#

Find images directory from the root path.

class datumaro.plugins.data_formats.coco.base.CocoImageInfoBase(path, **kwargs)[source]#

Bases: _CocoBase

class datumaro.plugins.data_formats.coco.base.CocoCaptionsBase(path, **kwargs)[source]#

Bases: _CocoBase

class datumaro.plugins.data_formats.coco.base.CocoInstancesBase(path, **kwargs)[source]#

Bases: _CocoBase

class datumaro.plugins.data_formats.coco.base.CocoPersonKeypointsBase(path, **kwargs)[source]#

Bases: _CocoBase

class datumaro.plugins.data_formats.coco.base.CocoLabelsBase(path, **kwargs)[source]#

Bases: _CocoBase

class datumaro.plugins.data_formats.coco.base.CocoPanopticBase(path, **kwargs)[source]#

Bases: _CocoBase

class datumaro.plugins.data_formats.coco.base.CocoStuffBase(path, **kwargs)[source]#

Bases: _CocoBase