SciSharp / TensorFlow.NET

.NET Standard bindings for Google's TensorFlow for developing, training and deploying Machine Learning models in C# and F#.
https://scisharp.github.io/tensorflow-net-docs
Apache License 2.0
3.2k stars 514 forks source link

[Question]: using Tensorflow.NET in Unity Linux #1101

Open dani-ar95 opened 1 year ago

dani-ar95 commented 1 year ago

Description

Hi, I'm trying to use TensorFlow.NET for object detection in unity linux but everytime I execute a simple Hello World using tf.constant it crashes and I can't find the reason for it. I have followed the instructions in this unity forum post to do the instalation: https://forum.unity.com/threads/tensorflow-dot-net-experiences.891163/. It works in a Windows environment, but I need it to work in Linux.

I'm using:

I'll also upload the crash log of the unity editor just in case anyone can help with this issue. Thanks.

Editor.log

Alternatives

No response

AsakusaRinne commented 1 year ago

Hi, I'd like to help with this issue. However I don't have a Linux device with unity (I developed Linux in WSL2). Would you mind building from source code of tensorflow.net? It may make you able to find in which line of code it crashed.