2017-03-02 52 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文件中。我也說你可以忽略它。它實際上並不影響任何事情。我寫了你正在使用的代碼,我知道它的作用和問題是什麼。 –

相關問題