Wulingtian / yolov5_onnx2caffe

yolov5 onnx caffe
113 stars 37 forks source link

Convert yolov5s.onnx to caffe Failed #20

Open gtfaiwxm opened 2 years ago

gtfaiwxm commented 2 years ago

Hi, I use the tool to convert yolov5s.onnx, failed! Traceback (most recent call last): File "convertCaffe.py", line 159, in convertToCaffe(graph, prototxt_path, caffemodel_path, exis_focus=True, focus_concat_name="Concat_40", focus_conv_name="Conv_41") File "convertCaffe.py", line 83, in convertToCaffe layer = converter_fn(node, graph, err) File "/data/gtf_project/project/yolov5_onnx2caffe/onnx2caffe/_operators.py", line 505, in _convert_resize height_scale = scales[2] IndexError: index 2 is out of bounds for axis 0 with size 0

aiqiangbrave commented 2 years ago

File "convertCaffe.py", line 159, in

hello,Have you solved the problem ?thanks

Lenubolim commented 1 year ago

I have the same problem,who can solve it ? So boring!

Waterman0524 commented 1 year ago

I have the same problem,who can solve it ? So boring!

MrQiuriosity commented 2 days ago

I have the same problem