class documentation
Base abstract loader class.
Implementations return samples in the loader output format used by Luxonis datasets.
| Method | __getitem__ |
Load a sample from the dataset. |
| Method | __iter__ |
Iterate over the dataset. |
| Method | __len__ |
Return the number of samples in the dataset. |
overridden in
luxonis_ml.data.loaders.LuxonisLoaderLoad a sample from the dataset.
| Parameters | |
idx:int | Index of the sample to load. |
| Returns | |
LoaderOutput | Sample data in loader output format. |
overridden in
luxonis_ml.data.loaders.LuxonisLoaderReturn the number of samples in the dataset.
| Returns | |
int | Number of samples. |