tensorbay.opendataset.COCO2017#

tensorbay.opendataset.COCO2017(path)[source]#

COCO2017 dataset.

The file structure should be like:

<path>
    annotations/
        panoptic_train2017/
            000000116037.png
            000000116040.png
            ...
        panoptic_val2017/
        instances_train2017.json
        instances_val2017.json
        panoptic_train2017.json
        panoptic_val2017.json
        person_keypoints_train2017.json
        person_keypoints_val2017.json
    train2017/
        000000116026.jpg
        000000116031.jpg
        ...
    test2017/
    val2017/
    unlabeled2017/
Parameters

path (str) – The root directory of the dataset.

Returns

class: ~tensorbay.dataset.dataset.Dataset instance.

Return type

Loaded