Implement the DataSet logic from the Dataset class from pytorch:
from torch.utils.data import Dataset
Basically, you should implement the __getitem__ and __len__ methods, with respect to pytroch documentation.
This DummyDataset should declare the interface used in the future in the project and be a placeholder for future pipeline development.
Implement the DataSet logic from the Dataset class from pytorch:
from torch.utils.data import Dataset
Basically, you should implement the
__getitem__
and__len__
methods, with respect to pytroch documentation. ThisDummyDataset
should declare the interface used in the future in the project and be a placeholder for future pipeline development.