Giter Club home page Giter Club logo

Comments (7)

luoyetx avatar luoyetx commented on June 1, 2024

You can refer to luoyetx/WhatsThis. The origin repo is using MXNet, I switch the backend to mini-caffe.

from mini-caffe.

QiYueFeiXue avatar QiYueFeiXue commented on June 1, 2024

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.

luoyetx avatar luoyetx commented on June 1, 2024

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.

QiYueFeiXue avatar QiYueFeiXue commented on June 1, 2024

谢谢你的回答,我用mini-caffe c++ 接口写了某个神经网络NN, 我想问能不能不修改NN代码,直接交叉编译成动态库,然后封装接口,给android使用。

from mini-caffe.

luoyetx avatar luoyetx commented on June 1, 2024

android 端应该是得用 jni 来调用 C++ 代码,所以你至少得封一层 Java 和 C++ 的 API 吧

from mini-caffe.

QiYueFeiXue avatar QiYueFeiXue commented on June 1, 2024

感谢你的回答!
我想问清楚, 对于我原先的NN代码,仍然使用mini-caffe C++ API, 然后使用jni 封装我的NN 代码, 提供给Java 使用。 这个意思吗?

from mini-caffe.

QiYueFeiXue avatar QiYueFeiXue commented on June 1, 2024

谢谢您的耐心解答,问题已解决。 将mini-caffe编译为android版本, 原先使用mini-caffe C++ API 无需修改。 多谢!!

from mini-caffe.

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.