- Download, extract, and copy the contents of the TinyImageNet dataset to the following directory location:
* Windows: C:\Users\<username>\.deeplearning4j\data\TINYIMAGENET_200 * Linux: ~/.deeplearning4j/data/TINYIMAGENET_200
- Create batches of images for training using the TinyImageNet dataset:
File saveDirTrain = new File(batchSavedLocation, "train"); SparkDataUtils.createFileBatchesLocal(dirPathDataSet, NativeImageLoader.ALLOWED_FORMATS, true, saveDirTrain, batchSize);
- Create batches of images for testing using the TinyImageNet dataset:
File saveDirTest = new File(batchSavedLocation, "test"); SparkDataUtils.createFileBatchesLocal(dirPathDataSet, NativeImageLoader.ALLOWED_FORMATS, true, saveDirTest, batchSize);
- Create ...