2 u014710012 u014710012 于 2016.03.04 23:56 提问

ubuntu15.04安装caffe出现问题?

make 进行到最后一步 make runtest 出现问题,求助!!!命令行报错如下:

 [----------] 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

2个回答

u014710012
u014710012   2016.03.05 01:01

Update: I found the cause of my issue mentioned above (not the original issue in this PR): Intel MKL's float point operations (such as matrix multiplication) are non-deterministic by default on my laptop.

After export MKL_CBWR=AUTO, the results are deterministic and those snapshot test failures disappear.

Reference on deterministic property of Intel MKL:

http://community.hartree.stfc.ac.uk/access/content/group/admin/HPC%20Training/Intel%20training%202013/a2_intel_mkl_overview.pdf
baidu_24281959
baidu_24281959   2016.08.03 08:44

遇到同样问题,但是只有一处错误。查了Git上的回答,解决方案有之前提到的,先执行"export MKL_CBWR=AUTO"就解决的。更多是推荐降级Boost到1.55版本,本人降级了也没有成功。您可以一试。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!