Comments (6)
Sorry for my late response. Did you try to build glags for Android? But actually, it's not required to make it. You can simply copy and modify train()
in caffe/tools/caffe.cpp
and put it somewhere (e.g., caffe_mobile.cpp) and implement a corresponding jni call for the usage.
from caffe-android-lib.
I just include the header files of gflag but i didn't use its compiled library, i noticed that it's not required. After compiling most dependencies for arm platform including leveldb, lmdb, snappy, and changing the caffe code a bit, now i can train mnist dataset and the trained model did get 98% accuracy after i loaded and tested it on my laptop. But only leveldb worked well, lmdb got some problems. Also i think start_logger() function may need to be changed a bit to print the training output from caffe correctly. I have putted it down for many days, hope could make it work more smoothly when i got time.
from caffe-android-lib.
Sorry for my possible misunderstanding. Your laptop? (ARM-based?)
from caffe-android-lib.
i mean i trained it on the phone, but during training from the output of my android studio it's quite messy, i am not sure how good the model trained, so i loaded to my laptop and test it, accuracy is fine.
from caffe-android-lib.
Wow, that's great!!
from caffe-android-lib.
Cmake is used to build the caffe lib now (except some modules. e.g. python, matlab, etc.).
from caffe-android-lib.
Related Issues (20)
- Performance become very slow when using multiple threads to do net_->Forward();
- OpenBlas Build failed HOT 1
- Error while running ./build.sh HOT 1
- make: *** No rule to make target 'clean'. Stop. Failed to build OpenBLAS
- How to make pycaffe and build _caffe module HOT 1
- Failed to build OpenBLAS HOT 2
- hi, Failed to build OpenBLAS,libopenblas_atom-r0.2.18.a HOT 1
- Failed to build OpenBLAS: cannot stat 'libopenblas_armv8p-r0.3.0.dev.so': No such file or directory HOT 3
- can not use asset manager HOT 1
- Failed to build OpenBLAS? HOT 29
- Is it suitable for all network?
- Is trainning available on Android?
- Failed to find header file, during [make] process HOT 1
- armeabi-v7a with: command not found HOT 1
- libtool: error: unrecognised option: '-DHAVE_CONFIG_H' HOT 2
- Build error when linking libopenblas.a to libcaffe.so
- find: '/caffe-android-lib/toolchains/armeabi/bin/': No such file or directory
- Porting an exisiting caffe net for text recognition?
- run caffee demo error HOT 3
- Compilation failed at ndk-r19c
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-lib.