We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pythonAPI是否可以增加入参,支持将3个模型的onnxruntime能够使用以下的入参来调用gpu 因为用CPU真的好慢,改成GPU快十几倍
self.session = ort.InferenceSession(onnx_path, providers=['CUDAExecutionProvider'])
The text was updated successfully, but these errors were encountered:
感谢提醒,我下次更新会添加它,谢谢
Sorry, something went wrong.
建议直接出个tensorrt推理的版本吧,onnx 指定 providers=CUDAExecutionProvider推理速度并不具有优势,还是转为为tensorrt的.engine模型,然后用pycuda或者cudart推理才能真正发挥nvidai显卡的优势。
想要ncnn直接跨平台🤐
No branches or pull requests
pythonAPI是否可以增加入参,支持将3个模型的onnxruntime能够使用以下的入参来调用gpu
因为用CPU真的好慢,改成GPU快十几倍
self.session = ort.InferenceSession(onnx_path, providers=['CUDAExecutionProvider'])
The text was updated successfully, but these errors were encountered: