Implementation of the use case discussed in this chapter can be found here: https://github.com/PacktPublishing/Java-Deep-Learning-Cookbook/tree/master/04_Building_Convolutional_Neural_Networks/sourceCode.
After cloning our GitHub repository, navigate to the following directory: Java-Deep-Learning-Cookbook/04_Building_Convolutional_Neural_Networks/sourceCode. Then, import the cookbookapp project as a Maven project by importing pom.xml.
You will also find a basic Spring project, spring-dl4j, which can be imported as a Maven project as well.
We will be using the dog breeds classification dataset from Oxford for this chapter.
The principal dataset can be downloaded from the following link:
https://www.kaggle.com/zippyz/cats-and-dogs-breeds-classification-oxford-dataset.
To run this chapter's source code, download the dataset (four labels only) from here...