Skip to content

binary weight neural network implementation on tensorflow

Notifications You must be signed in to change notification settings

Enmartz/BinaryNet-on-tensorflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinaryNet-on-tensorflow

binary weight neural network implementation on tensorflow

This is an implementation code for reproducing BNN

How to run

python mnist.py
python cifar10.py

Accuracy

DataSet accuracy
MNIST 99.04%
Cifar10 86.18%

Different between paper

layer-wise learning rate, paper is layer_lr = 1./sqrt(1.5 / (num_inputs + num_units)), my implement is layer_lr / 4

Ref

[BinaryNet: Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1"](http://arxiv.org/abs/1602.02830),
Matthieu Courbariaux, Yoshua Bengio

and An implemtation of binaryNet for Keras

About

binary weight neural network implementation on tensorflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%