How to setup scala sbt project for nd4j and deeplearning4j

I want to run LSTM code from deeplearning4j examples in my own sbt project using scala. My setup is Ubuntu 14.04, sbt 0.13, Oracle Java 8, nd4j version 0.5.0, scala 2.11.8. My approach can be found in my git registry. Feel free to clone it. At runtime, I get the following warnings and errors . How can i fix this?

+4
source share
4 answers
+1
source

, - SBT , "nd4j-native-package" . nd4j:

libraryDependencies ++= Seq(
  "org.nd4j" % "nd4j-native" % "0.5.0" classifier "$platform",
  "org.nd4j" % "nd4j-native" % "0.5.0"
)

. http://nd4j.org/dependencies.html

, .

+1

Coursier sbt . , :

coursier.ResolutionException: 1 not found
  https://repo1.maven.org/maven2/org/nd4j/nd4j-native/0.5.0/nd4j-native-0.5.0-${os.name}-${os.arch}.${project.packaging}
[error] (*:update) coursier.ResolutionException: 1 not found
[error]   https://repo1.maven.org/maven2/org/nd4j/nd4j-native/0.5.0/nd4j-native-0.5.0-${os.name}-${os.arch}.${project.packaging}

, alexarchambault/coursier # 341

0

Deeplearning4j/ND4J Gitter? - ... https://gitter.im/deeplearning4j/deeplearning4j

-1

Source: https://habr.com/ru/post/1652203/


All Articles