Overview
Prebuilt model architectures and weights for out-of-the-box application.
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-zoo</artifactId>
<version>1.0.0-beta6</version>
</dependency>Getting started
Initializing fresh configurations
import org.deeplearning4j.zoo.model.AlexNet
import org.deeplearning4j.zoo.*;
...
int numberOfClassesInYourData = 1000;
int randomSeed = 123;
ZooModel zooModel = AlexNet.builder()
.numClasses(numberOfClassesInYourData)
.seed(randomSeed)
.build();
Model net = zooModel.init();Initializing pretrained weights
What's in the zoo?
Advanced usage
Changing Inputs
Transfer Learning
Workspaces
Last updated
Was this helpful?