Skip to Content
Java Deep Learning Projects
book

Java Deep Learning Projects

by Md. Rezaul Karim
June 2018
Intermediate to advanced
436 pages
10h 33m
English
Packt Publishing
Content preview from Java Deep Learning Projects

Step 1 – Loading a pre-trained YOLO model

Since Alpha release 1.0.0, DL4J provides a Tiny YOLO model via ZOO. For this, we need to add a dependency to your Maven friendly pom.xml file:

<dependency>  <groupId>org.deeplearning4j</groupId>  <artifactId>deeplearning4j-zoo</artifactId>  <version>${dl4j.version}</version></dependency>

Apart from this, if possible, make sure you utilize the CUDA and cuDNN by adding the following dependencies (see Chapter 2Cancer Types Prediction Using Recurrent Type Networks, for more details):

<dependency>  <groupId>org.nd4j</groupId>  <artifactId>nd4j-cuda-9.0-platform</artifactId>  <version>${nd4j.version}</version></dependency><dependency>  <groupId>org.deeplearning4j</groupId> <artifactId>deeplearning4j-cuda-9.0</artifactId> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Deep Learning Essentials

Java Deep Learning Essentials

Yusuke Sugomori
Machine Learning in Java - Second Edition

Machine Learning in Java - Second Edition

AshishSingh Bhatia, Bostjan Kaluza
Mastering Java Machine Learning

Mastering Java Machine Learning

Uday Kamath, Krishna Choppella

Publisher Resources

ISBN: 9781788997454Supplemental Content