YoloDotNet icon indicating copy to clipboard operation
YoloDotNet copied to clipboard

Add DirectML Onnx EP as alternative GPU setup

Open ev-dev opened this issue 3 months ago • 0 comments

Hey great project, I've been tweaking it to use DirectML as the onnx execution provider because I'm one of the poor suckers who doesn't have a Nvidia GPU and it works very well as an abstraction on most GPUs.

If you're interested, I'd be happy to submit my patch thru a PR, although I couldn't seem to come up with a reasonable way to avoid breaking changes to the main Yolo constructor's call signature since it's currently designed for simple disabling of GPU use but let me know if you have any suggestions/preferences in that regard.

Cheers

ev-dev avatar Apr 04 '24 19:04 ev-dev