blueoil.datasets.pascalvoc_2007_2012 Module Contents Classes


Dataset base class

class blueoil.datasets.pascalvoc_2007_2012.Pascalvoc20072012(subset='train', is_standardize=True, skip_difficult=True, *args, **kwargs)

Bases: blueoil.datasets.base.ObjectDetectionBase

Dataset base class

available_subsets = ['train', 'validation', 'test']
classmethod count_max_boxes(cls, skip_difficult=True)

Count max boxes size over all subsets.

_init_files_and_annotations(self, *args, **kwargs)

Create files and annotations.

property num_max_boxes(self)

Return count max box size of available subsets.

property num_per_epoch(self)

Returns the number of datas in the data subset.

__getitem__(self, i)

Returns the i-th item of the dataset.


returns the number of items in the dataset.