8.1.1.3.1.11. blueoil.datasets.ilsvrc_2012

8.1.1.3.1.11.1. Module Contents

8.1.1.3.1.11.1.1. Classes

Ilsvrc2012

Dataset base class

class blueoil.datasets.ilsvrc_2012.Ilsvrc2012(*args, **kwargs)

Bases: blueoil.datasets.base.Base

Dataset base class

extend_dir = ILSVRC2012
num_classes = 1000
available_subsets = ['train', 'validation']
property classes(self)

Return the classes list in the data set.

property num_per_epoch(self)

Returns the number of datas in the data subset.

_init_files_and_annotations(self)
_files_and_annotations(self)
__getitem__(self, i)

Returns the i-th item of the dataset.

__len__(self)

returns the number of items in the dataset.