-
Notifications
You must be signed in to change notification settings - Fork 30
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
GPU推理内存占用过大 #27
Comments
确认下你的模型大小和batch size大小,一般来说不会这么大,除非你本身模型就比较大,输入图片和batch size也大。 |
谢谢您的回答,应该是我这边模型的问题。 |
_OrtSession要释放的,感谢提醒,已经修复这个问题了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好,我使用您的代码通过onnx推理yolov5实例分割,加载模型后内存占用会超过4个G,在推理时最高接近7个G,请问这个内存占用是正常的吗?
The text was updated successfully, but these errors were encountered: