user610programmer
user610programmer
CC#
Created by user610programmer on 4/30/2024 in #help
.NET Framework and TensorFlow.NET/Machine Learning
That seems to have worked. Thanks
10 replies
CC#
Created by user610programmer on 4/30/2024 in #help
.NET Framework and TensorFlow.NET/Machine Learning
I was assuming it was. I just started over installing everything in a new project and it seems like it has gotten passed the backend problem. Now it is just a TensorFlow.Binding error: Unhandled Exception: System.TypeInitializationException: The type initializer for 'Tensorflow.Binding' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at Tensorflow.c_api.TF_Version() at Tensorflow.tensorflow..ctor() at Tensorflow.Binding..cctor() --- End of inner exception stack trace --- at Tensorflow.Binding.get_tf() at TFTest.Program.Main(String[] args) in *\Program.cs:line 12 I am just testing it with some test code which is: using System; using static Tensorflow.Binding; namespace TFTest { internal class Program { static void Main(string[] args) { var hello = tf.constant("hello"); Console.WriteLine(hello); } } }
10 replies
CC#
Created by user610programmer on 4/30/2024 in #help
.NET Framework and TensorFlow.NET/Machine Learning
yes
10 replies
CC#
Created by user610programmer on 4/30/2024 in #help
.NET Framework and TensorFlow.NET/Machine Learning
I was able to install the SciSharp.TensorFlow.Redist package but it basically ignored it. On TensorFlow.NET's github page, someone was having a similar issue and one of the mods said that .NET Framework didn't support backend packages well. They could've misunderstood something or maybe something got updated but it hasn't worked for me thus far
10 replies