minerva.data.readers.reader
Classes
Base class for readers. Readers define an ordered collection of data and |
Module Contents
- class minerva.data.readers.reader._Reader
Base class for readers. Readers define an ordered collection of data and provide methods to access it. This class primarily handles:
Definition of data structure and storage.
Reading data from the source.
The access is handled by the __getitem__ and __len__ methods, which should be implemented by a subclass. Readers usually returns a single item at a time, that can be a single image, a single label, etc.