dl4j-0.0.3.3-编译错误的示例:导入类时无法找到符号

时间:2015-07-16 02:46:42

标签: java deep-learning

我已成功编译项目nd4j,Canova和deeplearning4j,但在编译dl4j-0.0.3.3-examples时出现错误,以下是错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project deeplearning4j-examples: Compilation failure: Compilation failure:
[ERROR] /home/luolianhai/dl4j-0.0.3.3-examples/src/main/java/org/deeplearning4j/deepbelief/DBNIrisExample.java:[22,49] cannot find symbol
[ERROR] symbol:   class GradientPlotterIterationListener
[ERROR] location: package org.deeplearning4j.plot.iterationlistener
[ERROR] /home/luolianhai/dl4j-0.0.3.3-examples/src/main/java/org/deeplearning4j/deepbelief/DBNIrisExample.java:[23,49] cannot find symbol
[ERROR] symbol:   class LossPlotterIterationListener
[ERROR] location: package org.deeplearning4j.plot.iterationlistener

1 个答案:

答案 0 :(得分:0)

您在构建配置中缺少某些库(依赖项)或跳过程序包。检查构建配置中是否包含/排除了GradientPlotterIterationListener的库或包。