Getting started
Module Description
This class is the Base class for pyraug’s dataset
A __getitem__ is redefined and outputs a python dictionnary with the keys corresponding to data, labels etc… This Class should be used for any new data sets.
__getitem__
Generates one sample of data
index (int) – The index of the data in the Dataset
A dictionnary with the keys ‘data’ and ‘labels’ and corresponding torch.Tensor
(dict)