Comments (8)
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.
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.
As I said, this is an android studio project (http://developer.android.com/sdk/).
from caffe-android-demo.
I will try it. Thank you.
from caffe-android-demo.
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.
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.
@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.
Solved in a5f9d85.
from caffe-android-demo.
Related Issues (20)
- Can't open the app HOT 4
- No implementation found for int caffe_android_lib.CaffeMobile.loadModel
- File not found HOT 7
- Can this suit every mobilephones? HOT 1
- Use my model files instead of your files. HOT 2
- fatal exception : couldn't find "libcaffe.so" HOT 2
- how to release model data after work done? HOT 2
- dlopen("/data/app/com.sh1r0.caffe_android_demo_1_garbage-1/lib/arm64/libcaffe_jni.so", RTLD_LAZY) failed: dlopen failed: could not load library "libcaffe.so.1.0.0-rc3" needed by "/data/app/com.sh1r0.caffe_android_demo_1_garbage-1/lib/arm64/libcaffe_jni.so"; caused by library "libcaffe.so.1.0.0-rc3" not found HOT 1
- How to ndk build .so files for ABI x86 or arm_v7? HOT 1
- Crash in Samsung S7 with Android 7 HOT 2
- Predication running slow (more than 10 seconds) HOT 1
- The performance of libcaffe.so/libcaffe_jni.so of armeabi-v7a is 3 times slower than that of arm64-v8a
- Can't run demo project HOT 10
- can not run project,...File not found HOT 1
- File not found on Xiaomi6, Android7.1.1, the solution in issue41 doesn't work HOT 7
- ImportError: No module named yaml HOT 1
- File not found: /storage/emulated/0/caffe_mobile/bvlc_reference_caffenet/deploy.prototxt HOT 2
- caffe-segnet bug !!!
- Is the demo not based on caffe2? HOT 1
- Loading multiple CNNs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe-android-demo.