You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running on Apple Silicon mac (M1 Pro) exception is thrown
Unhandled exception. System.TypeInitializationException: The type initializer for 'Tensorflow.Binding' threw an exception.
---> Tensorflow.RuntimeError: Tensorflow.NET cannot find a backend. Please install one of the following packages for your program: SciSharp.TensorFlow.Redist, SciSharp.TensorFlow.Redist-Linux-GPU, SciSharp.TensorFlow.Redist-Windows-GPU. For more details, please visit https://github.com/SciSharp/TensorFlow.NET. If it still not work after installing the backend, please submit an issue to https://github.com/SciSharp/TensorFlow.NET/issues
at Tensorflow.tensorflow..ctor()
at Tensorflow.Binding..cctor()
--- End of inner exception stack trace ---
at Tensorflow.Binding.get_tf()
at Program.<Main>$(String[] args) in /Users/george/Documents/C#/SampleTfNet/SampleTfNet/Program.cs:line 3
I have the same error but I have a solution with WPF application, I am trying to call tf and I am getting the same (yes, i have SciSharp.TensorFlow.Redist installed)
Configuration and Other Information
SciSharp.TensorFlow.Redist:2.16.0
TensorFlow.Keras:0.15.0
TensorFlow.NET:0.150.0
Description
When running on Apple Silicon mac (M1 Pro) exception is thrown
Reproduction Steps
create new console app with
net8.0
runtimecsproj should look as such
paste this into
Program.cs
:run project, the exception would be thrown
Known Workarounds
Not found
Configuration and Other Information
SciSharp.TensorFlow.Redist:2.16.0
TensorFlow.Keras:0.15.0
TensorFlow.NET:0.150.0
.net SDK 8.0.100
macOS 14.1
The text was updated successfully, but these errors were encountered: