© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
9 replies
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.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Machine Learning .NET
C#CC# / help
13mo ago
Machine learning in .net
C#CC# / help
2y ago
❔ Machine Learning recommendations
C#CC# / help
3y ago
learning moq framework
C#CC# / help
2y ago