user610programmer
.NET Framework and TensorFlow.NET/Machine Learning
I am trying to load a pre-trained tensorflow model that was written in python into C#. One of my requirements is I cannot depend on python being installed on a computer since this eventual DLL will get passed around a lot on different computers. I am having to use .NET Framework 4.6.2 for LabView support, but TensorFlow.NET is not directly supported by .NET Framework 4.6.2, but is under .NET Standard 2.0. I've seen some places where it should work with 4.6.2 and other places where it won't.
I thought I'd ask here to see if someone has had a similar experience. The main problem is .Net Framework doesn't have good support for backend packages that TensorFlow.NET needs. If there is another way to load a python machine learning model, like a .pkl file, into C# and have it predict data that works too. I have also tried using ML.NET instead of using a python model, but ML.NET is limited for my needs.
10 replies