Skip to Main Content
Java Deep Learning Projects
book

Java Deep Learning Projects

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

Data processing workflow

Once the files are in MP4 format, we can start extracting the features. Now, in order to process the UCF101 dataset and extract the features, I wrote three more Java classes, outlined as follows:

  • UCF101Reader.java: This is the main entry point for video file reading, decoding, and conversion to ND4J vectors. It receives the full path to the dataset and creates the DataSetIterator required for the neural network. In addition, it generates a list of all classes, and it assigns sequential integers for them.
  • UCF101ReaderIterable.java: This reads all the clips and decodes using JCodec.
  • RecordReaderMultiDataSetIterator.java: This is similar to the one provided by DL4J but an improved version, which works pretty well on ...
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