0

I am working with DeepLearning4J working with the 1.0.0-beta7 release. I am getting two errors at run time.

  1. jnind4jcpu.dll unsupported jni version 0xffffffff
  2. no nd4jcpu in java.library.path

I setup a path to the to a folder where I have a few other dlls for this effort. I am using java jvm 1.8.

So what version of the jvm should I use for question #1 and where in the dn4j maven project can I find the second one? I tried the uber jar for nd4j and still the same errors.

Thanks for any help!

4

1 回答 1

0

您的问题与 java 版本无关。确保您没有混合 dl4j 的版本。

您实际上不需要深入研究内部结构或处理通常在基于 jni 的库中看到的任何手动解决方法。

您需要做的就是在您的类路径中包含 nd4j-native-platform:

<dependency>
 <groupId>org.nd4j</groupId>
 <artifactId>nd4j-native-platform</artifactId>
 <version>1.0.0-beta7</version>
</dependency>

Nd4j/dl4j 基于 javacpp 并为您处理所有这些。为了给你更有针对性的建议,我必须更多地了解你的环境(最好在 github 上重现)

于 2020-10-29T04:49:19.373 回答