-
Notifications
You must be signed in to change notification settings - Fork 6
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
importONNXFunction报错 #2
Comments
您好,我已经解决了这个问题,它的原因好像是matlab自己的一个bug,参考了网站上的解决方案https://www.mathworks.com/matlabcentral/fileexchange/67296-deep-learning-toolbox-converter-for-onnx-model-format |
是的,bug还没更新到新版本上来发自我的iPhone------------------ 原始邮件 ------------------发件人: Mingda Lv ***@***.***>发送时间: 2021年4月16日 20:21收件人: cuixing158/yoloV5-onnx-matlab ***@***.***>抄送: Subscribed ***@***.***>主题: 回复:[cuixing158/yoloV5-onnx-matlab] importONNXFunction报错 (#2)
您好,我已经解决了这个问题,它的原因好像是matlab自己的一个bug,参考了网站上的解决方案https://www.mathworks.com/matlabcentral/fileexchange/67296-deep-learning-toolbox-converter-for-onnx-model-format
把C:\ProgramData\MATLAB\SupportPackages\R2021a\bin\win64\onnxpb.dll
复制一份到
C:\ProgramData\MATLAB\SupportPackages\R2021a\toolbox\nnet\supportpackages\onnx+nnet+internal+cnn+onnx
即可解决问题
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#2 (comment)",
"url": "#2 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
您好,可以请教一下您使用yolov5训练出来的.pt权重是如何转换成.onnx模型文件的吗?是使用yolov5项目自带的export.py模块进行转化的吗?我使用该模块转换出来的模型文件放入matlab中进行推理出现了大面积的错误识别框,您有遇到过类似的问题吗?您是如何解决的呢?期待您的回复,谢谢您。 |
您好,当我运行您的代码的时候在:
这一步产生了错误,错误信息如下:
权重文件我分别使用了自己用u版yolo v5项目训练出来的yolo v5s模型(转换成了onnx格式)和您网盘里提供的模型,都报了同样的错
The text was updated successfully, but these errors were encountered: