Git Product home page Git Product logo

Comments (10)

amitshekhariitbhu avatar amitshekhariitbhu commented on August 17, 2024

Now, there is no need to build that as it has been published as a library. You can directly compile it from the gradle.

from androidtensorflowmachinelearningexample.

mujtaba-faizi avatar mujtaba-faizi commented on August 17, 2024

I get this error "Your project contains C++ files but it is not using a supported native build system". I just build the gradle, i dont know why i had to change the workspace of tensorflow.

from androidtensorflowmachinelearningexample.

mujtaba-faizi avatar mujtaba-faizi commented on August 17, 2024

If i just add the dependency compile 'org.tensorflow:tensorflow-android:+' in build.gradle, what files do i have to remove from my project which you mentioned in the blog? Also, will i need to add something else to the activity code? Thanks on advance.

from androidtensorflowmachinelearningexample.

amitshekhariitbhu avatar amitshekhariitbhu commented on August 17, 2024

Yes, just add the dependency. Do not build the so file.

from androidtensorflowmachinelearningexample.

mujtaba-faizi avatar mujtaba-faizi commented on August 17, 2024

Thanks for the quick reply. So i dont need the .so file? All will work fine without it?

from androidtensorflowmachinelearningexample.

amitshekhariitbhu avatar amitshekhariitbhu commented on August 17, 2024

Yes

from androidtensorflowmachinelearningexample.

mujtaba-faizi avatar mujtaba-faizi commented on August 17, 2024

Now I'm getting the error after building gradle:
Execution failed for task':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

from androidtensorflowmachinelearningexample.

ryan-radloff avatar ryan-radloff commented on August 17, 2024

I am having the same issue with the DexMergerForDebug error, and have not been able to fix for weeks. Did you find a fix @mujtaba-faizi ?

from androidtensorflowmachinelearningexample.

SLEEP-CO avatar SLEEP-CO commented on August 17, 2024

Does it have any problems in different versions of tensorflow?I have build my own model on android
by this way , but i get the error that failed to open my moudel.pb

from androidtensorflowmachinelearningexample.

SLEEP-CO avatar SLEEP-CO commented on August 17, 2024

I hope you can give me your hands .

from androidtensorflowmachinelearningexample.

Related Issues (12)

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.