Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for YOLOv5 #7

Open
jkassis opened this issue Nov 10, 2021 · 4 comments
Open

Updates for YOLOv5 #7

jkassis opened this issue Nov 10, 2021 · 4 comments
Assignees

Comments

@jkassis
Copy link

jkassis commented Nov 10, 2021

Hi. Hope someone is still looking at this.

I updated this demo to use onnxruntime-web in my public fork... https://github.com/jkassis/onnxjs-demo.

I then extracted the yolo pieces to get this working with an onnx model of yolov5 exported from the ultralytics project: https://github.com/ultralytics/yolov5.

I'm having some problems with the post-processing phase as detailed in a ticket against the ultralytics repo...

Please see... ultralytics/yolov5#5595

Hoping that someone here might be able to take a look.

@fs-eire fs-eire transferred this issue from microsoft/onnxjs-demo Nov 11, 2021
@fs-eire fs-eire self-assigned this Nov 11, 2021
@Mr-LiuDC
Copy link

Hi, @jkassis

Have you solved your problems? I also met your issue ultralytics/yolov5#5595.

I trained my own custom dataset with yolov7 transfer learning and exported the onnx file, and also three tensors come out.

Any suggestions?

Thank you.

@jkassis
Copy link
Author

jkassis commented Jan 31, 2023 via email

@Mr-LiuDC
Copy link

Mr-LiuDC commented Feb 3, 2023

@jkassis Thanks anyway.

BTW, If you are still interested in this. Here I have some experience maybe useful.

I use yolov7, here are to repositories:

Official: https://github.com/WongKinYiu/yolov7
Personal: https://github.com/bubbliiiing/yolov7-pytorch

onnxruntime-web detection example: https://github.com/Hyuto/yolov7-onnxruntime-web
and for you yolov5: https://github.com/Hyuto/yolov5-onnxruntime-web

Our onnx model firstly trained by bubbliiiing/yolov7-pytorch and come out three tensors, We need to concat the three outs into one, but I do't know how to do this. So, I change to official repo WongKinYiu/yolov7 and work well.

bubbliiiing/yolov7-pytorch trained custom dataset and export onnx:
1675397301523

WongKinYiu/yolov7 trained custom dataset and export onnx, works well:
1675397454558

@MarGraz
Copy link

MarGraz commented Oct 16, 2023

Hi guys, @jkassis @Mr-LiuDC do you have any suggestion about this issue I opened?

Thank you so much for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants