Comments (9)
For OpenBLAS with libs on armeabi-v7a, I had tested that the number of threads do effect the performance.
from caffe-android-demo.
I try it again just a moment ago. But it still seems nothing changed.
what I do:
export USE_OPENBLAS=1
export ANDROID_ABI="armeabi-v7a-hard-softfp with NEON"
./build.sh <path/to/ndk>
from caffe-android-demo.
Did you try the prebuilt libs in this repo before? I'm pretty sure that it works with openmp support.
from caffe-android-demo.
what is "the prebuilt libs "? and where can I find it?
from caffe-android-demo.
https://github.com/sh1r0/caffe-android-demo/tree/master/app/src/main/jniLibs
from caffe-android-demo.
Yes, I always do it, but find ineffective.
I run this demo in TK1, but find that it always run the program in one cpu core(and in other devices like rk3288 or xiaomi box3, it is ineffective when changed the number of openblas threads, too). I make a test in TK1 of Matrix multiplication. I find that even I make sure that I have 4 threads, the time it cost is the same as 1 thread. It seems that TK1 has only a core to calculate the floating point(I guess).
So, would you tell me, what device you use when it do effect the performance ?
from caffe-android-demo.
Sorry, I found that I made a mistake and thus caffe libs would be built with eigen by build.sh
even USE_OPENBLAS=1
is set. Therefore, the prebuilt libs were all built with eigen instead of openblas. I fixed the bug in the dev branch of caffe-android-lib. As it is time-consuming to rebuild the libs for all abi, please build caffe-android-lib on your own. Sorry again for the inconvenience.
from caffe-android-demo.
Could tell me the mistake so I can build the lib by myself? I am not familiar with shell so I cannot find it.
Thank you!
from caffe-android-demo.
I find it. I delete build_eigen.sh in build.sh. And just use build_Openblas.sh. It works.
Thank you!
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.