当我将SGDSolver更改为AdaGradSolver时,会发生以下错误:
/tools/../lib/fast_rcnn/train_multi_gpu.py", line 157, in solve
solver.add_callback(nccl)
ArgumentError: Python argument types in
Solver.add_callback(AdaGradSolver, NCCL)
did not match C++ signature:
add_callback(caffe::SGDSolver<float>*, caffe::NCCL<float>*)
add_callback(caffe::Solver<float>*, boost::python::api::object, boost::python::api::object)