Toybrick

在rknn-toolkit:1.4.0的docker里caffemodel转rknn

pjmhfhs

注册会员

积分
107
楼主
发表于 2020-12-23 17:06:16    查看: 8057|回复: 1 | [复制链接]    打印 | 只看该作者
  1. W Rename slice_[dump, mask] to rknn_slice_[dump, mask]
  2. W Unknown caffe layer Silence_[dump_blob], op is silence, please REMOVE it from prototxt if possible.
  3. W Rename Silence_[dump_blob] to rknn_Silence_[dump_blob]
  4. W Rename Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt'] to rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']
  5. W Rename attach_rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']_56 to rknn_attach_rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']_56
  6. W Rename attach_rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']_56 to rknn_attach_rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']_56
  7. W Rename attach_rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']_56 to rknn_attach_rknn_Slice_['category_pt', 'instance_pt', 'confidence_pt', 'classify_pt', 'heading_pt', 'height_pt']_56
  8. E Catch exception when loading caffe model: /home/deploy.prototxt!
  9. E Traceback (most recent call last):
  10. E   File "rknn/api/rknn_base.py", line 506, in rknn.api.rknn_base.RKNNBase.load_caffe
  11. E   File "rknn/base/RKNNlib/switcher/mode_switcher.py", line 347, in rknn.base.RKNNlib.switcher.mode_switcher.C2T_Switcher.switch
  12. E   File "rknn/base/RKNNlib/switcher/mode_switcher.py", line 315, in rknn.base.RKNNlib.switcher.mode_switcher.ModeSwitcher.build_mark
  13. E   File "rknn/base/RKNNlib/switcher/mode_switcher.py", line 191, in rknn.base.RKNNlib.switcher.mode_switcher.ModeSwitcher.optimize_mark
  14. E   File "rknn/base/RKNNlib/switcher/mark_optimize.py", line 449, in rknn.base.RKNNlib.switcher.mark_optimize.MarkOptimize.apply
  15. E   File "rknn/base/RKNNlib/switcher/mark_optimize.py", line 445, in rknn.base.RKNNlib.switcher.mark_optimize.MarkOptimize.forward_mark
  16. E   File "rknn/base/RKNNlib/switcher/mark_optimize.py", line 28, in rknn.base.RKNNlib.switcher.mark_optimize.fwd_upstream
  17. E AttributeError: 'NoneType' object has no attribute 'reset_shape_format'
复制代码
这是因为有特殊层吗?
回复

使用道具 举报

pjmhfhs

注册会员

积分
107
沙发
 楼主| 发表于 2020-12-28 14:23:02 | 只看该作者
删掉那个未知类型的层就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表