Skip to content

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

Open
@dani-ar95

Description

@dani-ar95

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.

Editor.log

Alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingunity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions