Giter Site home page Giter Site logo

mobilecnn's Introduction

Mobile CNN

This project represents a method of running convolutional neural networks on an Android device. Much of the code in this project is based on caffe-android-demo by sh1r0, to whom many thanks are given.

##Project The project is an android application built using Android-Studio. Importing the project into Android-Studio should build the application using gradle and allow for on-device debugging with connected devices.

##Models The models used for this project were in caffe. In order to get mobile caffe built into the libraris found in the /jni folder, steps were taken following another project by sh1r0 in conjunction with the first: caffe-android-lib. Instead of using the online models, the weights for the smaller trained model are compressed in models/weights.7z, along with the required model definition for deployment. These two files must be copied onto the sdcard of the android device to get the project working.

Also present in the models folder are the .prototxt files used to train the network. mobilecnn.prototxt was used in conjunction with mobilecnn_solver.prototxt to originally train the network off of the AlexNet network. This network should be initialized in caffe using the weights from the trained bvlc_alexnet model. Once training has been satisfactorily completed, weights from the resulting network can be used to initialize training on mobilecnn_small.prototxt and mobilecnn_solver_small.prototxt to connect and fine tune the network.

mobilecnn's People

Contributors

dannysperling avatar

Stargazers

Andy avatar

Watchers

James Cloos avatar desperado avatar  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.