我想在自己的sbt项目中使用scala运行deeplearning4j examples中的LSTM代码。我的设置是Ubuntu 14.04,sbt 0.13,Oracle Java 8,nd4j版本0.5.0,scala 2.11.8。我的方法可以在我的git repo中找到。随意克隆它。 运行时我得到以下警告和错误。我该如何解决?
我想在自己的sbt项目中使用scala运行deeplearning4j examples中的LSTM代码。我的设置是Ubuntu 14.04,sbt 0.13,Oracle Java 8,nd4j版本0.5.0,scala 2.11.8。我的方法可以在我的git repo中找到。随意克隆它。 运行时我得到以下警告和错误。我该如何解决?
仅看 nd4s 的 build.sbt 文件: https://github.com/deeplearning4j/nd4s/blob/master/build.sbt
libraryDependencies ++= Seq(
"org.nd4j" % "nd4j-native" % "0.5.0" classifier "$platform",
"org.nd4j" % "nd4j-native" % "0.5.0"
)
要查看支持哪些平台字符串的全面列表,请参见http://nd4j.org/dependencies.html。
希望能对你有所帮助。
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的版本。
你能加入 Deeplearning4j/ND4J 社区的 Gitter 吗?那里会有人回答你的问题... https://gitter.im/deeplearning4j/deeplearning4j