ncnn-assets icon indicating copy to clipboard operation
ncnn-assets copied to clipboard

which tool did you use to convert the yolov5s.py to yolov5s.bin/param?

Open muhammedakyuzlu opened this issue 3 years ago • 2 comments

can you write the steps on how to convert yolov5s to the ncnn format? I converted the torch model to onnx then using ncnn tools converted to bin/param but it did not work

muhammedakyuzlu avatar Feb 21 '22 09:02 muhammedakyuzlu

@muhammedakyuzlu, Hi! Could you tell me more about problem? Have you solved it? I was close to a possible option, but I still get the wrong output result. My steps: https://github.com/Tencent/ncnn/issues/3600

Draft00 avatar Mar 07 '22 15:03 Draft00

@Draft00, Hi! I did like you did in your steps:[https://github.com/Tencent/ncnn/issues/3600] the first four ones . I ended up with [yolov5s.param, yolov5s.bin] note I used the yolov5s normal model not the yolov5s_6 I modified the ncnn yolov5 example 39.line // #define YOLOV5_V60 1 //YOLOv5 v6.0 to use the normal version.

the Problem are find_blob_index_by_name

muhammedakyuzlu avatar Mar 07 '22 23:03 muhammedakyuzlu