OnFlyImageDataset
This dataset keeps all data on disk and generates batches on-fly according preprocessing pipeline.
Parameters
xFiles
files to load images from
y
labels to use for the loaded images
preprocessing
preprocessing to apply to the loaded images
Types
Functions
batchIterator
Link copied to clipboard
Returns BatchIterator with fixed batchSize.
shuffle
Link copied to clipboard
Shuffles the dataset.
split
Link copied to clipboard
open override fun split(splitRatio: Double): Pair<OnFlyImageDataset, OnFlyImageDataset>
Content copied to clipboard
Splits datasets on two sub-datasets according splitRatio.