The DL4J framework provides a web user interface to visualize the current network status and progress of training in real time. It is used to understand how to tune a neural network. In this section, we are going to examine a use case with CNN training where only DL4J is involved. The next section will show the differences between when the training is done through both DL4J and Spark.
The first thing we need to do is add the following dependency to the project:
groupId = org.deeplearning4j artifactId = deeplearning4j-ui_2.11 version = 0.9.1
Then, we can start adding the necessary code.
Let's initialize the backend for the UI:
val uiServer = UIServer.getInstance()
Configure the information that is generated for the ...