I want to run the 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 repo. Feel free to clone it. On runtime I get the following warnings and errors. How can I fix this?
Just look at the nd4s build.sbt: https://github.com/deeplearning4j/nd4s/blob/master/build.sbt
Possibly due to a bug in SBT some internal variables are currently not resolved causing the resolution of the dependency 'nd4j-native-package' to fail. As a workaround you can use the following dependency declaration for nd4j:
libraryDependencies ++= Seq(
"org.nd4j" % "nd4j-native" % "0.5.0" classifier "$platform",
"org.nd4j" % "nd4j-native" % "0.5.0"
)
For a comprehensive list which platform strings are supported see http://nd4j.org/dependencies.html
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With