Code Monkey home page Code Monkey logo

rramscalable_bnn's Introduction

RRAMScalable_BNN

This is the complete training example of Neural Network-Hardware Co-design for Scalable RRAM-based BNN Accelerators on following datasets: Cifar10, MNIST

Although in-memory analog computation is promising for MV multiplication and NN acceleration, the overhead of analog-digital interfaces limit the efficiency of analog computation.

Neural Network-Hardware Co-design for Scalable RRAM-based BNN Accelerators presented a methodology to split inputs of a Binary Neural Network (BNN) to fit each sub-network on a RRAM array. This way, we can accelerate BNN with typical memory configuration with 1-bit word line driver and 1-bit sense-amp.

Requirements

This code is implemented on top of BinaryNet and has all the same requirements.

Training

Start training using:

th Main_Cifar10.lua -network spCifar10_Model -arraySize 256 -nGPU 2
th Main_MNIST.lua -network spMNIST_Model -arraySize 256

Trained models

The inference accuracy on the Cifar10, MNIST are as follows:

Network (arraySize) MNIST CIFAR-10
Baseline (-) 98.8 88.6
Split (512) 98.8 88.4
Split (256) 98.7 88.0
Split (128) 98.7 87.5

Note that the trained model used default options except 'network', 'arraySize', and 'nGPU'.

rramscalable_bnn's People

Contributors

yulhwakim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rramscalable_bnn's Issues

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.