Giter Club home page Giter Club logo

Comments (11)

bkunters avatar bkunters commented on July 20, 2024

Hi, thanks for the notification.

On which branch are you working actually ? I could help further then.

from tflite4unity.

SevenAntares avatar SevenAntares commented on July 20, 2024

Thank you very much for answering. I am using master branch

from tflite4unity.

bkunters avatar bkunters commented on July 20, 2024

Ah ok I forgot to merge with the develop branch. Can you try out with the develop branch ?

from tflite4unity.

SevenAntares avatar SevenAntares commented on July 20, 2024

OK, I have switched to the develop branch. The same result.
I don't know if this can help, it appears when the build begins;
Anotación 2019-10-16 124911

from tflite4unity.

bkunters avatar bkunters commented on July 20, 2024

Ok I tried with my own setup. I am working with Unity 2019.2.The rest is the same as yours. I am somehow not getting the same error with my version of the engine. A friend of mine also built with the Unity 2019.2 and there were no problems yet.

The gradle file format might be also changed for your Unity version.

I will try with the 2019.3 and report the results here.

Thanks again for the report !

from tflite4unity.

bkunters avatar bkunters commented on July 20, 2024

@SevenAntares allright, I have just tried it out with 2019.3 and got the same problem. There are probably some changes which cause this problem during the communication between the Unity Runtime & JNI. I would encourage you to test again with 2019.2 to ensure that this problem happens because of the Unity version. I can note this as a known issue then.

In case the same problem occurs again, could you check the followings:

  1. AR Foundations version must be 2.1
  2. Check if any game object references are missing in the scene.

from tflite4unity.

SevenAntares avatar SevenAntares commented on July 20, 2024

I have tried Unity 2019.2 with ARFoundation 2.1 and I have the same result. So I think I'm doing something wrong.
I open the "TFARInterface" project in Unity
Should I do something with the "TFLitePlugin" folder?
Forgive me for my innocence

from tflite4unity.

bkunters avatar bkunters commented on July 20, 2024

Hi @SevenAntares
We checked out everything and built it multiple times with the current configurations but everything worked fine. You don't have to do anything with the TFLitePlugin. It is rather the android side and thought for the custom model inference implementations. The Android plugin is always built as a .aar library and put into the Plugin folder on the Unity side.

Is your device running the AndroidX ? Maybe it causes a problem currently...
Our setup consists of devices with Android 8.1 & 9 and so far they did not cause any problems.

If you have any older device I would also try with it cause I do not personally have any Android X devices right now. If you would ever try, could you report the results here ?

from tflite4unity.

bkunters avatar bkunters commented on July 20, 2024

@SevenAntares Could you also check your NDK version please ?

from tflite4unity.

SevenAntares avatar SevenAntares commented on July 20, 2024

Ok, sorry I only have this Android device. Here I leave the concrete versions.

2019.2.0f1\AndroidPlayer

/NDK
Pkg.Desc = Android NDK
Pkg.Revision = 16.1.4479499

/OpenJDK
JAVA_VERSION="1.8.0"
OS_NAME="Windows"
OS_VERSION="5.2"
OS_ARCH="amd64"
SOURCE=""

from tflite4unity.

bkunters avatar bkunters commented on July 20, 2024

Duplicate of #2

You can track your problem in the mentioned issue further.

from tflite4unity.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.