coco2017

deepdataspace.plugins.coco2017

This module supports coco2017 dataset format.

importer

Import the coco2017 dataset and save metadata into mongodb.

class COCO2017Importer(meta_path: str, enforce: bool = False)[source]

Bases: FileImporter

Importer for coco2017 dataset.

static parse_meta(meta_path: str)[source]
load_ground_truth()[source]
load_predictions()[source]
format_data()[source]
pre_run()[source]

A pre-run hook for subclass importers to prepare data.

static can_import(path: str)[source]

Check if the given path can be imported by this importer.

collect_files() dict[source]

Collect the files related to this dataset, {file_tag: file_path}.