执行
make runtest
后出现如下错误:
[----------] Global test environment tear-down
[==========] 1096 tests from 150 test cases ran. (106016 ms total)
[ PASSED ] 1095 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] BenchmarkTest/1.TestTimerMilliSeconds, where TypeParam = caffe::CPUDevice<double>
1 FAILED TEST
Makefile:523: recipe for target 'runtest' failed
make: *** [runtest] Error 1
根据网上查找的参考,执行如下命令 就OK 了
sf@ubuntu:~/caffe$ export MKL_CBWR=AUTO
sf@ubuntu:~/caffe$ make runtest
。。。
[ OK ] ArgMaxLayerTest/1.TestCPUAxisMaxValTopK (55 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUTopK
[ OK ] ArgMaxLayerTest/1.TestCPUTopK (2 ms)
[ RUN ] ArgMaxLayerTest/1.TestSetupAxisNegativeIndexing
[ OK ] ArgMaxLayerTest/1.TestSetupAxisNegativeIndexing (2 ms)
[ RUN ] ArgMaxLayerTest/1.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/1.TestSetupMaxVal (1 ms)
[----------] 12 tests from ArgMaxLayerTest/1 (184 ms total)
[----------] Global test environment tear-down
[==========] 1096 tests from 150 test cases ran. (104506 ms total)
[ PASSED ] 1096 tests.
参考: