create

fun create(pathToData: File, labels: FloatArray, preprocessing: Preprocessing = Preprocessing()): OnFlyImageDataset

Create dataset OnFlyImageDataset from pathToData and labels using preprocessing to prepare images.

fun create(pathToData: File, labelGenerator: LabelGenerator, preprocessors: Preprocessing = Preprocessing()): OnFlyImageDataset

Create dataset OnFlyImageDataset from pathToData and labelGenerator using preprocessing to prepare images.