Thanks for your solution of this problem, because I apply the solution to my problem like test below:
[ 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.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.TestSnapshot, where TypeParam = caffe::CPUDevice<float>
[ FAILED ] RMSPropSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
That is, in caffe/src/caffe/test/test_gradient_based_solver.cpp, I instead EXPECT_EQ with EXPECT_NEAR and 1e-4. It almost helps me handle the problem.However, there still remains an error
[ FAILED ] AdaGradSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>, how can I do?
According the https://github.com/BVLC/caffe/issues/3109, I used caffe in single GPU, and runtest in GPU mode, when I met problem above.
在 2015年9月14日星期一 UTC+8上午11:28:15,Ronghang Hu写道: