dotnet / machinelearning-samples

Samples for ML.NET, an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
4.42k stars 2.66k forks source link

Unable to find entry point named "TF_StringEncodedSize" in DLL "tensorFlow" #1031

Open 420tech opened 2 months ago

420tech commented 2 months ago

I don't have the version of dot net that the sample was based on. I used the upgrade assistant to upgrade to .net 8. I also updated all the nuget's. It crashed on line 94 in program.cs in the ImageClassification.Train project. This is the output: System.EntryPointNotFoundException HResult=0x80131523 Message=Unable to find an entry point named 'TF_StringEncodedSize' in DLL 'tensorflow'. Source= StackTrace:

feiyun0112 commented 2 months ago

please provide a demo to reproduce