Skip to content

CERTIFAI Training Labs Repository using Eclipse Deeplearning4j

License

Notifications You must be signed in to change notification settings

jtkhair/TrainingLabs

 
 

Repository files navigation

Eclipse Deeplearning4j Training Labs

Running examples strategically structured to enhance understanding of building models with Eclipse Deeplearning4j.

This repo contains codes for hands-on purpose during training session. All codes had been tested using CPU.

Contents

DL4J-Lab

DL4J-cv-labs

Spark-Lab

Built with

  • deeplearning4j beta 6.0
  • CUDA 10.0 (Note: Optional if you are using CPU)
  • cuDNN 7.6 (Note: Optional if you are using CPU)

Getting Started

Install Java

Download Java JDK here.
(Note: Use Java 8 for full support of DL4J operations)

Check the version of Java using:

java -version

Make sure that 64-Bit version of Java is installed.

Install IntelliJ IDEA Community Edition

Download and install IntelliJ IDEA.

Install Apache Maven Optional

IntelliJ provides a default Maven that is bundled with the installer. Follow these instructions to install Apache Maven.

GPU setup Optional

Follow the instructions below if you plan to use GPU setup.

  1. Install CUDA and cuDNN
    Requirements:
    • CUDA 10.0
    • cuDNN 7.6

CUDA and cuDNN can be downloaded from here and here. Step by step installation guides can be found here.

  1. Dependencies are needed to be included into Maven project if we wish to use GPU for training. Follow the links below for instructions in details.

Usage

All examples are separated into training and solution folders. The download will take some time to download dependencies from maven when you first run these examples.

All codes in training folder have few lines commented out so that they can be taught and demonstrated in the class. The solution folder contains the un-commented version for every line of codes.

Known Issues

Problem:

jnind4jcpu.dll: Can't find dependent libraries

Solution:
Change the maven dependencies of Javacpp to the latest (1.4.3 works).

Problem:

"C:\Users\LohJZ\.javacpp\cache\cuda-10.0-7.3-1.4.3-windows-x86_64.jar\org\bytedeco\javacpp\windows-x86_64\jnicudnn.dll": Can't find procedure

Solution:
Install latest CUDA (version 7.6 works)

About

CERTIFAI Training Labs Repository using Eclipse Deeplearning4j

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.9%
  • Jupyter Notebook 0.1%