8.1.1.3.1.18. blueoil.datasets.pascalvoc_2007_2012

8.1.1.3.1.18.1. Module Contents

8.1.1.3.1.18.1.1. Classes

Pascalvoc20072012

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

num_classes
available_subsets = ['train', 'validation', 'test']
extend_dir
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.

__len__(self)

returns the number of items in the dataset.