尝试第一次使用deeplearning4j,但它不起作用

时间:2016-11-27 12:58:09

标签: maven deeplearning4j

我尝试按照deeplearning4j,deeplearning4j.org / quickstart上的快速入门指南进行操作。但是,当我尝试运行" mvn clean install"时,它会给我以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
5.1:compile (default-compile) on project dl4j-examples: Compilation failure: Com
pilation failure:
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[8,55] package
org.apache.lucene.queryparser.flexible.messages does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[9,37] package
org.canova.api.records.reader does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[10,42] package
 org.canova.api.records.reader.impl does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[11,28] package
 org.canova.api.split does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/PredictGenderTest.java:[12,42] package
 org.deeplearning4j.datasets.canova does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/GenderRecordReader.java:[19,34] packag
e jdk.internal.util.xml.impl does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/GenderRecordReader.java:[20,56] packag
e org.apache.lucene.queryparser.flexible.core.util does not exist
[ERROR] /D:/dl4j-examples/dl4j-examples/src/main/java/org/deeplearning4j/example
s/feedforward/classification/DetectGender/GenderRecordReader.java:[21,30] packag
e org.apache.lucene.util does not exist
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :dl4j-examples

我还将pom.xml中的java版本标签从1.7更改为1.8。我也使用64位窗口。

1 个答案:

答案 0 :(得分:0)

这已得到修复。请回复你的例子。