August 2018
Intermediate to advanced
378 pages
9h 9m
English
The first step is to create the image files. The code for this section is in the Chapter11/gen_cifar10_data.R folder. We will load the CIFAR10 data and save the image files in the data directory. The first step is to create the directory structure. There are 10 classes in the CIFAR10 dataset: we will save 8 classes for building a model and we will use 2 classes in a later section (Transfer learning). The following code creates the following directories under data:
This is the structure that Keras expects image data to be stored in. If you use this ...