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

Supportted YOLOv5 4.0 #42

Open
pango99 opened this issue Feb 6, 2021 · 7 comments
Open

Supportted YOLOv5 4.0 #42

pango99 opened this issue Feb 6, 2021 · 7 comments

Comments

@pango99
Copy link

pango99 commented Feb 6, 2021

Does support YOLOv5 4.0?

@linghu8812
Copy link
Owner

yes, it supports YOLOv5 4.0 now and support yolov5s6.pt and so on in YOLOv5 4.0.

just run with

./yolov5_trt ../config6.yaml ../samples

@linghu8812 linghu8812 changed the title Does support YOLOv5 4.0? Supportted YOLOv5 4.0 Feb 8, 2021
@pango99
Copy link
Author

pango99 commented Feb 8, 2021

Great,thank you very much for your sharing

@bobbilichandu
Copy link

Where can I find yolov5s6.yaml?

@linghu8812
Copy link
Owner

@bobbilichandu
Copy link

I am not able to convert yolov5s6 to onnx.
Facing this issue
ONNX export failure: Exporting the operator silu to ONNX opset version 10 is not supported. Please open a bug to request ONNX export support for the missing operator.
I tried opset versions 10-12, but couldn't solve it.
Any help would be great!

@linghu8812
Copy link
Owner

@chandu1263
check these lines

elif isinstance(m.act, nn.SiLU):
m.act = SiLU()

@bobbilichandu
Copy link

Thanks, it works. I have been using some other export_onnx.py file.

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

3 participants