pycaffe AdaGradSolver与C ++定义不匹配

时间:2018-09-07 06:47:27

标签: pycaffe

当我将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)

0 个答案:

没有答案