LoginSignup
10
8

More than 5 years have passed since last update.

deeplearning4jをbuildして動かしてみるまで

Posted at

jvmで並列分散処理できるdeeplearning tool deeplearning4jをbuildして動かしてみるまでの作業ログ

buildまで

## git clone
$ git clone git@github.com:shoe116/deeplearning4j.git

## set up
$ cd deeplearning4j
$ bash ./setup.sh

動かしてみる

まさかの、「exampleは別リポジトリ」なので(しかもver情報付き、いみわからん)dl4j-0.4-examplesを落としてくる。同じディレクトリだと.gitが喧嘩するので、deeplearning4jと同階層にしておこう。

とりあえず、deeplearningにおけるhallo world, Mnistの手書き文字データを学習させてみよう。

## git clone examples
$ cd ..
$ git clone git@github.com:deeplearning4j/dl4j-0.4-examples.git
$ cd dl4j-0.4-examples

## install
$ mvn clean install -DskipTest

## run mnist
mvn exec:java -Dexec.mainClass=org.deeplearning4j.examples.deepbelief.DBNMnistFullExample
10
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
8