Code Monkey home page Code Monkey logo

caffeonacl-android's Introduction

CaffeOnACL-Android

Goal

Porting CaffeOnACL to RK3399 Android platform

Support

The release is based on Rockchip RK3399 Platform

  • ACL/NEON
  • ACL/GPU(OpenCL)
  • OpenBLAS
  • Mixed Mode

Build

Tested with Android NDK r15c and cmake 3.5.1 on Ubuntu 16.04

# Install some dependencies
sudo apt-get install python-dev python-pip git cmake
sudo pip install pyyaml six

# Download source code and prebuilts
git clone --recursive https://github.com/RockchipOpensourceCommunity/CaffeOnACL-Android.git

cd CaffeOnACL-Android
export NDK_ROOT=<path/to/your/ndk/root>

# Build Caffe
./build_caffe.sh

# Download network
./model_download.sh

# Prepare model data for RK3399 device
./model_prepare.sh

# Update binary data for RK3399 device
./binary_update.sh

# Running SqueezeNet network (default is AlexNet, support AlexNet, GoogLeNet, SqueezeNet, MobileNet)
./model_runner.py SqueezeNet

Prebuilts

Library Version
Arm Compute Library v17.10
OpenBLAS v0.2.20
Boost v1.65
glog v0.3.3
gflags v2.2.0
protobuf v3.1.0
lmdb v0.9.21
OpenCV v3.3.0

caffeonacl-android's People

Contributors

cuihao19931030 avatar finley- 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.