Comments (7)
You can refer to luoyetx/WhatsThis. The origin repo is using MXNet, I switch the backend to mini-caffe.
from mini-caffe.
I saw you use mini-caffe API in java, but I want to know could I use mini-caffe API in C++. In the end generated a .so library Used for android.
Thank you !
from mini-caffe.
Yes, you can. I think you can add API just like I did in src/jni/jni.c. Then wraps the API in Java.
from mini-caffe.
谢谢你的回答,我用mini-caffe c++ 接口写了某个神经网络NN, 我想问能不能不修改NN代码,直接交叉编译成动态库,然后封装接口,给android使用。
from mini-caffe.
android 端应该是得用 jni 来调用 C++ 代码,所以你至少得封一层 Java 和 C++ 的 API 吧
from mini-caffe.
感谢你的回答!
我想问清楚, 对于我原先的NN代码,仍然使用mini-caffe C++ API, 然后使用jni 封装我的NN 代码, 提供给Java 使用。 这个意思吗?
from mini-caffe.
谢谢您的耐心解答,问题已解决。 将mini-caffe编译为android版本, 原先使用mini-caffe C++ API 无需修改。 多谢!!
from mini-caffe.
Related Issues (20)
- linux
- mini-caffe 可以设置多GPU吗?
- 最新的代码还是会在退出时报内存错误啊 HOT 2
- pthread_create HOT 1
- if using opencv, then how to modify "mini-caffe.cmake"
- Adding SYCL backend for Mini Caffe
- 最新版本在程序运行example中程序退出时候报错,旧版本不存在此问题 HOT 2
- Memory Leak when using Threads HOT 2
- 你好,我在编译mini-caffe遇到链接错误的问题
- libopenblas.dll HOT 1
- cmake cannot find and configure cuda10 correctly
- Layer::Forward does not work when inference faster-rcnn HOT 6
- About LSTM layer.
- Windows编译出错!!
- Unsupported gpu architecture 'compute_92' HOT 4
- error: ‘exp’ was not declared in this scope HOT 4
- win10+cmake+cuda10.0+cudnn7.3.1, i have the problem that Running GPU detection script with nvcc failed: detect_cuda_archs.cu HOT 2
- scale.cpp
- SSD mobilenet 测试问题
- 编译win 32位,出现的问题 HOT 1
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 mini-caffe.