GithubHelp home page GithubHelp logo

Comments (3)

xiaobaiyang-programer avatar xiaobaiyang-programer commented on August 15, 2024

@SaoirseARM

from ml-examples.

SaoirseARM avatar SaoirseARM commented on August 15, 2024

Hi @yanghaiping1993 , thanks for getting in touch.
Were those library files i.e. libarmnn.so/libarmnnTfParser.so compiled in 64 bit by any chance? That could explain the incompatibility errors you are seeing above.

I see you are attepting to compile mnist_tf.cpp ( -m32 ) in 32bit, so perhaps that is the issue.

from ml-examples.

xiaobaiyang-programer avatar xiaobaiyang-programer commented on August 15, 2024

@SaoirseARM it is 32 bit lib, and the error is made by choosing wrong compiler,and I choose the arm-linux-androideabi-clang/clang++,reedit the Makefile,it works well on arm32 device (android OS) if I compile with cmake command:-DARMCOMPUTENEON=0 -DARMCOMPUTECL=0. BUT, if I compile with cmake command:-DARMCOMPUTENEON=1 -DARMCOMPUTECL=0, the log are showed as:
Running 542 test cases...
unknow location(0): fatal error: in "NeonTimerInstrument/NeonTimerMeasure": std::bad_alloc: std::bad_alloc
/armnn-devenv/armnn/src/armnn/test/NeonTimerTest.cpp(35): last checkpoint: "NeonTimerMeasure" entry

*** 1 failuer is detected in the test module "UnitTests"
My android device is an armv7a 32 bit cpu, and RAM is 2GB, what can cause that error?

from ml-examples.

Related Issues (20)

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.