user101464
user101464

Reputation: 35

onnx runtime without ML.NET

I am trying to run an ONNX inference session in c# in a system that can only run .net framework 4.8.Unfortunetely,framework 4.8 can not run ML.NET and upgrading is not an option. Are there any tricks or workaround that I can get ONNX runtime to work? I appreciate any suggestions.

Upvotes: 0

Views: 925

Answers (2)

Wan
Wan

Reputation: 1

How about building the ONNX Runtime source code? You can run ONNX Runtime without relying on WinML or the .NET framework.

For your information - https://onnxruntime.ai/docs/build/inferencing.html

Upvotes: 0

Cassie Breviu
Cassie Breviu

Reputation: 581

Check out the Inference with C# section of the ONNX Runtime docs. That should have the info you need to inference with C# outside of ML.NET

Upvotes: 0

Related Questions