09.05.2023 Views

pdfcoffee

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4

Let's run the code. Our network reaches a test accuracy of 66.8% with 20 iterations.

We also print the accuracy and loss plot and dump the network with model.

summary():

Figure 13: Printing the accuracy and loss outputs

Figure 14: Accuracy and loss for the defined network

Improving the CIFAR-10 performance with a

deeper network

One way to improve the performance is to define a deeper network with multiple

convolutional operations. In the following example we have a sequence of modules:

1st module: (CONV+CONV+MaxPool+DropOut)

2nd: module: (CONV+CONV+MaxPool+DropOut)

3rd module: (CONV+CONV+MaxPool+DropOut)

[ 125 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!