Caffe编译在执行 make runtest时可能会出现类似以下问题,
[ RUN ] AdamSolverTest/1.TestLeastSquaresUpdateWithEverythingAccumShare
unknown file: Failure
C++ exception with description "locale::facet::_S_create_c_locale name not valid" thrown in the test body.
[ FAILED ] AdamSolverTest/1.TestLeastSquaresUpdateWithEverythingAccumShare, where TypeParam = caffe::CPUDevice<double> (0 ms)
最后执行完成后,发现有大量case没有执行成功,如下,
[----------] Global test environment tear-down
[==========] 2123 tests from 281 test cases ran. (418426 ms total)
[ PASSED ] 1774 tests.
[ FAILED ] 349 tests, listed below:
[ FAILED ] DBTest/0.TestSeekToFirst, where TypeParam = caffe::TypeLevelDB
[ FAILED ] DBTest/0.TestWrite, where TypeParam = caffe::TypeLevelDB
[ FAILED ] DBTest/0.TestGetDB, where TypeParam &