2017-03-02 17 views
0

我试图运行从以下链接DL4J例子程序:为什么DL4J NLP示例没有使用maven获取jar文件?

https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/recurrent/word2vecsentiment/Word2VecSentimentRNN.java
但运行代码时,我得到以下调试信息:

10:48:38.934 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.935 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.935 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.936 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.936 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libopenblas.so.0 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.936 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libopenblas.so.0 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.938 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.938 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner 
10:48:38.947 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.947 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner 
10:48:38.947 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.948 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner 
10:48:38.950 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libblas.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.950 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libblas.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner 
10:48:38.953 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.953 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner 
10:48:38.954 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/jnind4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.954 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/jnind4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.965 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgcc_s_seh-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.965 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgcc_s_seh-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.966 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgfortran-3.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.966 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgfortran-3.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.970 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgomp-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.970 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgomp-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.970 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libnd4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.971 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libnd4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.974 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libopenblas.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.974 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libopenblas.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.989 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libquadmath-0.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.989 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libquadmath-0.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.990 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libstdc++-6.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.991 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libstdc++-6.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:38.995 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libwinpthread-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:38.996 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libwinpthread-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner 
10:48:39.058 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libiomp5.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:39.058 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libiomp5.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner SubTypesScanner 
10:48:39.068 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libjnind4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:39.069 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libjnind4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner SubTypesScanner 
10:48:39.069 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libnd4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner TypeAnnotationsScanner 
10:48:39.069 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libnd4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner SubTypesScanner 

我已经检查了我的Maven .m2文件夹,罐子在那里。但为什么程序无法访问罐子?
我该如何解决这个问题?我正在使用IntelliJ Ultimate。

+1

我不觉得有什么太大的社区支持可deeplearning4j这里在Stackoverflow上。您是否尝试过使用Gitter在他们的网站上直接与他们聊天?这一直对我有用! –

+0

这不是我们看的第一个地方,但我们*尝试着看问题。你可能不会马上得到答案。 –

+0

Gitter频道在这里:https://gitter.im/deeplearning4j/deeplearning4j – tremstat

回答

1

你可以忽略这个。它UST从反射库警告: https://github.com/ronmamo/reflections

所有它说是它找不到本地代码的类文件(这是有道理的)

+0

是的,我的朋友。但是我在展示的路径上有这些罐子。 –

+0

对你的回应有点困惑。我想你对这个警告实际上说的是什么感到困惑。该警告说它无法扫描JAR中的本机文件。这并不是说这个罐子不存在。再一次:这是有道理的。类文件不会出现在dll和.so文件中。我也说你可以忽略它。它实际上并不影响任何事情。我写了你正在使用的代码,我知道它的作用和问题是什么。 –

相关问题