There's more...

Here are some important pre-trained models offered by the DL4J Model Zoo API:

This is a very deep convolutional neural network targeting large-scale image recognition tasks. We can use transfer learning to train the model further. All we have to do is import VGG16 from the model zoo: 

ZooModel zooModel =VGG16.builder().build();
ComputationGraph network = (ComputationGraph)zooModel.initPretrained();

Note that the underlying architecture of the VGG16 model in the DL4J Model Zoo API is ComputationGraph

This is a real-time object detection model for fast and accurate image classification. We can apply transfer learning to this model as well after importing from it the model zoo, as shown here:

ComputationGraph pretrained = (ComputationGraph)TinyYOLO.builder().build().initPretrained();

Note that the underlying architecture of the TinyYOLO model in the DL4J model zoo API is ComputationGraph

This is also known as YOLOV2, a faster object detection model for real-time object detection. We can apply transfer learning to this model after importing it from the model zoo, as shown here:

 ComputationGraph pretrained = (ComputationGraph) Darknet19.builder().build().initPretrained();
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset