You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open up the MY_MODEL.param with netron, I see that the value of w parameter for the reshape layer of all the outputs is some positive integer (e.g. 676). And the detection does not work (does not show any of the class).
When I compared MY_MODEL.param with your yolov7-tiny.param , I see that the value of w parameter for the reshape layer of all the outputs is -1. If I manually change this value to -1 in my own MY_MODEL.param, my model works with proper detection.
Can you please explain how you created your yolov7-tiny ncnn? What are the exact steps you did?
The text was updated successfully, but these errors were encountered:
I trained yolov7-tiny on a custom dataset, converted it to onnx using this example and then converted that onnx to ncnn using this.
pt to onnx conversion
onnx to ncnn conversion
When I open up the
MY_MODEL.param
with netron, I see that the value ofw
parameter for thereshape
layer of all the outputs is some positive integer (e.g.676
). And the detection does not work (does not show any of the class).When I compared
MY_MODEL.param
with youryolov7-tiny.param
, I see that the value ofw
parameter for thereshape
layer of all the outputs is-1
. If I manually change this value to-1
in my ownMY_MODEL.param
, my model works with proper detection.Can you please explain how you created your
yolov7-tiny
ncnn? What are the exact steps you did?The text was updated successfully, but these errors were encountered: