Skip to content
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

Any plane to support GPU acceleration using TensorRT? #21

Open
AgentSMLA opened this issue Aug 20, 2024 · 1 comment
Open

Any plane to support GPU acceleration using TensorRT? #21

AgentSMLA opened this issue Aug 20, 2024 · 1 comment

Comments

@AgentSMLA
Copy link

as title, i love this project

@guyzoler
Copy link

Download the source and edit, if you have properly installed ONNX with tensorrt just edit line 38 at YoloCore.cs
change: ? new InferenceSession(onnxModel, SessionOptions.MakeSessionOptionWithCudaProvider(gpuId))
to: ? new InferenceSession(onnxModel, SessionOptions.MakeSessionOptionWithTensorrtProvider(gpuId))

I have it running, but it has the same performance for some reason, and it takes longer to initialize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants