I find yolov5's postprocess is not same with yolov3。
postprocess of yolov5 is follow:
y = x[i].sigmoid()
y[..., 0:2] = (y[..., 0:2] * 2. - 0.5 + self.grid[i].to(x[i].device)) * self.stride[i] # xy
y[..., 2:4] = (y[..., 2:4] * 2) ** 2 * self.anchor_grid[i] # wh
when I deploy yolov5 in Hi3559,I find the result is incorrect。
Hello @yangfei963158659, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments.
If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com.
when I deploy yolov5 in Hi3559 using yolov3‘s postprocess,I find the result is incorrect。
@yangfei963158659 I think you may find out the answer from this issue
@yangfei963158659 why would you expect them to be the same?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@yangfei963158659 I think you may find out the answer from this issue