-
Notifications
You must be signed in to change notification settings - Fork 19
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
编译后模型运行报错,应用程序无法正常启动 #28
Comments
onnxruntime-gpu1.14.1, opencv==4.7.0 |
请问一下能提供报错信息吗,我使用的是CPU版本的onnxruntime,如果使用GPU版本可能要在Ort::SessionOptions初始化的地方加上AppendExecutionProvider_CUDA(OrtCUDAProviderOptions)才行,这个版本的代码是没有提供GPU的方式运行的喔 |
您提供的路径是否含有中文?换成全英文的路径是否还会出现这个问题呢 |
十分感谢,模型已经跑通了,但是推理速度还是比较慢的,我想问一下模型的encoder部分输入尺寸可以修改吗,会带来除图像尺寸缩小外的额外精度损失吗?因为导出onnx时输入需要和训练时保持一致。 |
对于速度这个问题也是我一直想要改进的部分,如果您能实现一个onnxruntime-gpu的版本,很欢迎你发起PR(后续我抽出时间也会尝试去实现,因为开发及应用环境一直是CPU环境所以之前有所欠虑),encoder的输入尺寸这里是对着官方的原本输入大小写的,修改会导致精度损失,除非有足够的计算资源进行重新训练,具体可以尝试看看PaddleSeg里面对SAM的复现 |
No description provided.
The text was updated successfully, but these errors were encountered: