caffe make runtest 錯誤


執行

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.


參考:

https://github.com/BVLC/caffe/issues/3109

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章