Giter Site home page Giter Site logo

Comments (8)

sh1r0 avatar sh1r0 commented on August 17, 2024

Sorry, I've never tried to run this project using eclipse (as this is basically a android studio project). Did you put everything required into the device yet (https://github.com/sh1r0/caffe-android-demo#quick-start)?

from caffe-android-demo.

295988101 avatar 295988101 commented on August 17, 2024

I am sure that I have done the requirements that your suggest at the project. And I can find the file in my phone in the correct path. The error happened while the function caffeMobile.loadModel() is called. But this function is a native function and I can't debug it.

By the way, I am not familiar with android. Would you tell me what tool you use to run this project?

Thank you for your help.

from caffe-android-demo.

sh1r0 avatar sh1r0 commented on August 17, 2024

As I said, this is an android studio project (http://developer.android.com/sdk/).

from caffe-android-demo.

295988101 avatar 295988101 commented on August 17, 2024

I will try it. Thank you.

from caffe-android-demo.

jimmod avatar jimmod commented on August 17, 2024

I tried with Android Studio and got similar error:
22608-22608/com.sh1r0.caffe_android_demo A/native: upgrade_proto.cpp:68 Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /sdcard/caffe_mobile/bvlc_reference_caffenet/deploy.prototxt

The file exists in the phone, I also checked it if the app can access by checking result of File.exists

from caffe-android-demo.

jimmod avatar jimmod commented on August 17, 2024

Solve it with use the previous deploy.prototxt file, the deploy.prototxt that pushed on Feb 26, 2016 is not compatible. My guess since the caffe lib so used is also the old one, they changed the parsing implementation on the latest caffe lib

from caffe-android-demo.

sh1r0 avatar sh1r0 commented on August 17, 2024

@jimmod Thanks for your information, input data were switched to Input layers in BVLC/caffe@2cc3844. I'll fix it asap.

from caffe-android-demo.

sh1r0 avatar sh1r0 commented on August 17, 2024

Solved in a5f9d85.

from caffe-android-demo.

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.