Caffe:Message type "caffe.LayerParameter" has no field named "reshape_param".
来源:互联网 发布:领淘宝内部优惠券软件 编辑:程序博客网 时间:2024/06/02 12:24
在执行py-faster-rcnn-master的演示程序(tools/demo.py)时
报错:
Message type “caffe.LayerParameter” has no field named “reshape_param”.
google上找到了rbgirshick大神的回复
https://github.com/rbgirshick/fast-rcnn/issues/1
是我下载的caffe-fast-rcnn版本不对。
官方建议的下载方式是:
git clone --recursive https://github.com/rbgirshick/py-faster-rcnn.git
这样会自动下载caffe-fast-rcnn源码。
我没有用git clone方式下载py-faster-rcnn-master源码,而是下载的zip包,
所以包中的py-faster-rcnn-master/caffe-fast-rcnn文件夹是空的,然后我同样用zip方式下载的caffe-fast-rcnn源码复制到py-faster-rcnn-master/caffe-fast-rcnn下。在这个过程中我搞错了源码版本造成上面的问题。
如下图下载红框指向的链接https://github.com/rbgirshick/caffe-fast-rcnn/tree/0dcd397b29507b8314e252e850518c5695efbb83
将下载的zip解压缩后改名为caffe-fast-rcnn复制到py-faster-rcnn-master下,再重新编译caffe-fast-rcnn下的caffe代码。
关于py-faster-rcnn-master的编译过程参见:
《Faster R-CNN CPU环境搭建》
《Faster R-CNN安装笔记,只用CPU》
- Caffe:Message type "caffe.LayerParameter" has no field named "reshape_param".
- Caffe:Message type "caffe.LayerParameter" has no field named "reshape_param".
- ssd-mobilenet编译出错:Message type "caffe.LayerParameter" has no field named "permute_param"
- Caffe错误:Message type "caffe.SolverParameter" has no field named "name"
- caffe跑densenet的错误:Message type "caffe.PoolingParameter" has no field named "ceil_mode".
- 用caffe训练自己的数据集时出错:type “caffe.ImageDataParameter” has no field named “backend”
- caffe 学习之LayerParameter
- no model named caffe
- import caffe失败 No module named caffe
- import caffe ImportError: No module named caffe
- import caffe失败 No module named caffe
- import caffe失败 No module named caffe
- ImportError: No module named caffe
- django Course has no field named
- 在caffe.proto中定义变量出现“'xxxParameter' has no member named 'xxx'”问题的解决
- pycharm ImportError: No module named caffe
- ImportError: No module named caffe 的解决方案
- ImportError: No module named caffe 的解决方案
- [js点滴]JavaScript进度事件09
- js实现html表格导出到excel
- 欢迎使用CSDN-markdown编辑器
- 几个C/Cpp笔试面试题目
- 【CJOJ P1365】最短路
- Caffe:Message type "caffe.LayerParameter" has no field named "reshape_param".
- Service生命周期
- java---《深入理解java虚拟机》第二章【java内存区域与内存溢出异常】阅读笔记
- java String, StringBuffer,StringBuilder
- 【软考总结】——好事多磨
- ln命令介绍
- Cannot open /var/log/sa/sa23: No such file or directory
- 20、Spring MVC 之 Configuring
- iOS开发中, '-[__NSCFConstantString size]: unrecognized selector sent to instance 0x10abccc00'