[Question]: using Tensorflow.NET in Unity Linux
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:
- Unity 2021.3.25f1
- Tensorflow 2.6.0 (the tensorflow.so and tensorflow_framework.so files)
- All the .dll files in the unitypackage of the main post:
- Google.Protobuf.dll (3.11.4.0)
- NumSharp.Lite.dll (0.1.7.0)
- Protobuf.Text.dll (0.4.0.0)
- System.Buffers.dll (4.6.25519.3)
- System.Memory.dll (4.6.27129.4)
- System.Numerics.Vectors.dll (4.6.25519.3)
- System.Runtime.CompilerServices.Unsafe.dll (4.6.26919.2)
- TensorFlow.NET.dll (0.15.1.0)
I'll also upload the crash log of the unity editor just in case anyone can help with this issue. Thanks.
Alternatives
No response
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.