ubuntu - Caffe 运行测试报错

标签 ubuntu makefile caffe

我刚刚成功地使用了 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

最佳答案

如果您使用 Intel MKL,此问题的原因可能是:Intel MKL 的浮点运算(例如矩阵乘法)在默认情况下是不确定的。

    export MKL_CBWR=AUTO

关于ubuntu - Caffe 运行测试报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35800780/

相关文章:

machine-learning - *从头开始重新启动数据预取*在caffe中是什么意思

C "argument is of type ' 结构文件 *'"

没有 GNU-make 模式的 Makefile 动态规则

c++ - 在 make 文件中链接 SDL_image

c - NMAKE : fatal error U1077: 'cc' : return code '0x1'

neural-network - 使用 PyCaffe 的全连接多层感知器

python - PyCaffe 构建失败,未找到 lboost_python

c++ - 包含 libpqxx 会导致使用 CMake 在 WSL 上构建失败

C memcpy() 段错误

ubuntu - PF_RING ubuntu 安装