Skip to main content


CocoDataPyTorch Objects

class CocoDataPyTorch(PyTorchData)

ApertureDB ingestable Dataset, which is sourced from CocoDetection (torchvision.datasets)


def __init__() -> None

COCO dataset loads as an iterable with Tuple (X, [y1, y2 .... yn]) where X is the image (PIL.Image) and y's are multiple dicts with properties like: area, bbox, category_id, image_id, id, iscrowd, keypoints, num_keypoints, segmentation