【问题标题】:Trying to work with deeplearning4j for the first time but it does not work [closed]第一次尝试使用 deeplearning4j 但它不起作用[关闭]
【发布时间】:2016-11-27 12:58:09
【问题描述】:

我尝试遵循 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。我也使用window 7 64位。

【问题讨论】:

  • 你能发布你所做的具体步骤吗?
  • 首先我通过“git clone github.com/deeplearning4j/dl4j-examples.git”克隆它。然后,我输入“cd dl4j-examples/”。然后我使用“mvn clean install”。与快速入门中的完全一样。
  • 此问题已修复。谢谢!请再拉一次。

标签: maven deeplearning4j


【解决方案1】:

此问题已修复。请重新克隆您的示例。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-10-17
    • 2022-07-20
    • 1970-01-01
    • 2021-03-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-16
    相关资源
    最近更新 更多