Splitter

class cocohelper.splitters.splitter.Splitter[source]

Bases: ABC

Method List

apply(coco)

Split a COCODataset with the current splitting strategy.

Attributes List

_abc_impl

Methods Details

abstract apply(coco)[source]

Split a COCODataset with the current splitting strategy.

Parameters:

coco (COCOHelper) – The dataset on which we want to apply the split.

Returns:

A list of COCOHelper datasets, subsets of the original set of data.

Return type:

List[COCOHelper]

Attribute Details

_abc_impl = <_abc._abc_data object>