neodroidvision.data.detection.coco.deprec.s_coco.COCODataset¶
- class neodroidvision.data.detection.coco.deprec.s_coco.COCODataset(data_root: Path, dataset_name: str, split: SplitEnum, img_transform: Optional[callable] = None, annotation_transform: Optional[callable] = None)[source]¶
Bases:
ObjectDetectionDataset
description
- __init__(data_root: Path, dataset_name: str, split: SplitEnum, img_transform: Optional[callable] = None, annotation_transform: Optional[callable] = None)[source]¶
- Parameters
data_root –
dataset_name –
split –
img_transform –
annotation_transform –
remove_empty –
Methods
__init__
(data_root, dataset_name, split[, ...])- param data_root
get_annotation
(index)- param index
get_img_info
(index)- param index
Attributes
categories
image_dirs
description
Args: self:
return: :rtype:
splits