August 2017
Intermediate to advanced
288 pages
8h 6m
English
Let's define the configuration of the CNN classifier as follows:
# CIFAR images are 32 x 32 pixels.img_width = 32Limg_height = 32L# Tuple with height and width of images used to reshape arrays.img_shape = c(img_width, img_height)# Number of classes, one class for each of 10 imagesnum_classes = 10L
# Number of color channels for the images: 3 channel for red, blue, green scales.num_channels = 3L
# Images are stored in one-dimensional arrays of length.img_size_flat ...
Read now
Unlock full access