blueoil.datasets.ilsvrc_2012 Module Contents Classes


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.

__getitem__(self, i)

Returns the i-th item of the dataset.


returns the number of items in the dataset.