最近的数字图像处理课程项目的课题是“图像的目标检测与分割”,我选择使用Faster R-CNN
实现目标检测,使用FCN
实现目标分割。
虽然前面Caffe已经编译成功,但是由于依赖库和Caffe版本的问题,在使用CaffeModel的时候,仍然遇到很多问题,特此记录。
pycthon接口问题
下载好模型后,运行python脚本,会有如下报错
Boost.Python.ArgumentError: Python argument types in
Net.__init__(Net, str, str, int)
did not match C++ signature:
__init__(boost::python::api::object, std::string, std::string, int)
__init__(boost::python::api::object, std::string network_file, int phase, int level=0, boost::python::api::object stages=None, boost::python::api::object weights=None)
根据