海思Hi3519DV500导出RPN层时报错Exporting the operator ‘custom_ops::DecBBox’ to ONNX opset version 1 is not supported. Support for this operator was added in version 12, try exporting with this version.
最终解决办法:
- 将./rpn_op/dec_bbox.py中下面的12改为1。
register_custom_op_symbolic(‘custom_ops::DecBBox’, symbolic_decbbox, 12) - 在filter.py、nms.py、sort.py中对应位置作相同修改。