GithubHelp home page GithubHelp logo

yamatchan / caffe-android-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sh1r0/caffe-android-demo

0.0 1.0 0.0 35.61 MB

An android caffe demo app exploiting caffe pre-trained ImageNet model for image classification

Home Page: https://github.com/sh1r0/caffe-android-lib

License: MIT License

Java 100.00%

caffe-android-demo's Introduction

caffe-android-demo

An android caffe demo app exploiting caffe pre-trained ImageNet model for image classification

  • This demo app corresponds to Android 5.0 or higher

Quick Start

Basic

If you want to have a try on this app, please follow the steps below to get the required stuff:

# 1. get caffe if you don't have one
git clone https://github.com/BVLC/caffe.git
# 2. download model (bvlc_reference_caffenet is used)
cd caffe
./scripts/download_model_binary.py models/bvlc_reference_caffenet/
# 3. push things to your device
adb shell mkdir -p /sdcard/caffe_mobile/
adb push models/bvlc_reference_caffenet/ /sdcard/caffe_mobile/bvlc_reference_caffenet/

If the app crashes, first make sure it is not an out of memory issue - modify deploy.prototxt such that the mini batch size is 1 instead of 10

Android版Caffeデモアプリ

このデモアプリはDeap LearningのフレームワークCaffeの分類器をAndroid上で実行するアプリです.
事前に学習したImageNetモデルを用いた画像分類を行います.
※Android 5.0以上に対応

導入方法

このデモアプリを実行する前に,以下の手順を実行し,学習済みデータをAndroid端末に保存してください.

# 1. get caffe if you don't have one
git clone https://github.com/BVLC/caffe.git
# 2. download model (bvlc_reference_caffenet is used)
cd caffe
./scripts/download_model_binary.py models/bvlc_reference_caffenet/
# 3. push things to your device
adb shell mkdir -p /sdcard/caffe_mobile/
adb push models/bvlc_reference_caffenet/ /sdcard/caffe_mobile/bvlc_reference_caffenet/

caffe-android-demo's People

Contributors

czhang96 avatar sh1r0 avatar yamatchan avatar

Watchers

 avatar

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.