-
Notifications
You must be signed in to change notification settings - Fork 24
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
请问一下,你是怎么转onnx的呢?可以共享一下脚本吗? #3
Comments
export = True # onnx export |
转换onnx的时候,在yolo.py的Detect类里,不要执行后处理解码的那一段代码
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年2月24日(周四) 晚上6:31
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: Re: [hpc203/yolov5-detect-car_plate_corner] 请问一下,你是怎么转onnx的呢?可以共享一下脚本吗? (Issue #3)
export = True # onnx export
yolo.py的29行
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
哦,我也是这样转的, 还是多谢了。 |
调试了一天代码,也没看出相关的anchor的设置,好像是模型内部生成的; 能共享一下best.pt转onnx的代码吗?谢谢咯。 |
可以了,加了最后两行。 |
按照你的加,出现了以下问题,请问你还修改了其他地方吗?谢谢。 Starting ONNX export with onnx 1.10.2... |
我修改了yolo.py里的一个变量,转是转成功了,但是,看后面还有很多逻辑,应该是转的不完全。
多谢了先
The text was updated successfully, but these errors were encountered: