
报错log如下:
RuntimeError: i: 5 out of range: 5, cnode: @1929_1928_1_mindyolo_models_yolov5_YOLOv5_construct_32:CNode_33{[0]: ValueNode<Primitive> PrimFunc_StridedSlice, [1]: CNode_34, [2]: ValueNode<ValueTuple> (0, 0, 0, 0, 0), [3]: ValueNode<ValueTuple> (1, 3, 80, 80, 2), [4]: ValueNode<ValueTuple> (1, 1, 1, 1, 1)}
----------------------------------------------------
- Framework Unexpected Exception Raised:
----------------------------------------------------
This exception is caused by framework's unexpected error. Please create an issue at https://gitee.com/mindspore/mindspore/issues to get help.
----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/core/ir/anf.cc:422 input
=================================================================================================================
本操作环境:ubuntu18、mindspore2.3.1。
使用mindyolo套件。
使用的指令:python3 ./deploy/export.py --config ./configs/yolov5/yolov5n.yaml --weight yolov5n_300e_mAP273-bedf9a93-910v2.ckpt --per_batch_size 1 --file_format ONNX --device_target CPU
报错log如下:
RuntimeError: i: 5 out of range: 5, cnode: @1929_1928_1_mindyolo_models_yolov5_YOLOv5_construct_32:CNode_33{[0]: ValueNode<Primitive> PrimFunc_StridedSlice, [1]: CNode_34, [2]: ValueNode<ValueTuple> (0, 0, 0, 0, 0), [3]: ValueNode<ValueTuple> (1, 3, 80, 80, 2), [4]: ValueNode<ValueTuple> (1, 1, 1, 1, 1)}
----------------------------------------------------
- Framework Unexpected Exception Raised:
----------------------------------------------------
This exception is caused by framework's unexpected error. Please create an issue at https://gitee.com/mindspore/mindspore/issues to get help.
----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/core/ir/anf.cc:422 input
=================================================================================================================
本操作环境:ubuntu18、mindspore2.3.1。
使用mindyolo套件。
使用的指令:python3 ./deploy/export.py --config ./configs/yolov5/yolov5n.yaml --weight yolov5n_300e_mAP273-bedf9a93-910v2.ckpt --per_batch_size 1 --file_format ONNX --device_target CPU