【问题标题】:Caffe make runtest errorCaffe 使运行测试错误
【发布时间】:2016-03-04 16:13:01
【问题描述】:

我刚刚成功使用了 make 和 make test 命令,没有错误。但是,当我使用 make runtest 命令时,同样的问题多次失败。

虽然我安装的 boost 是 boost-1.55,但它不起作用。结果如下。我该怎么办?

[----------] Global test environment tear-down
[==========] 1887 tests from 255 test cases ran. (476334 ms total)
[  PASSED  ] 1880 tests.
[  FAILED  ] 7 tests, listed below:
[  FAILED  ] SGDSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] AdaGradSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] NesterovSolverTest/0.TestSnapshot, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] NesterovSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] AdaDeltaSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] AdamSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] RMSPropSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>

 7 FAILED TESTS
Makefile:523: recipe for target 'runtest' failed
make: *** [runtest] Error 1

【问题讨论】:

  • 我猜你需要使用 boost-1.57。

标签: ubuntu makefile caffe


【解决方案1】:

如果您使用英特尔 MKL,可能是因为英特尔 MKL 的浮点运算(例如矩阵乘法)默认是非确定性的。

    export MKL_CBWR=AUTO

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-09
    • 1970-01-01
    • 2018-07-06
    • 1970-01-01
    相关资源
    最近更新 更多