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