BinaryNet And XNORNet Save

Keras implementations of BinaryNet and XNORNet

Project README

This project contains Keras implementations of the BinaryNet and XNORNet papers:

Binarized Neural Networks: Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1

XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks

Code supports the Tensorflow and Theano backends.

The most difficult part of coding these implementations was the sign function gradient. I’ve used the clipped ‘passthrough’ sign implementation detailed in the BinaryNet paper. The XNORNet doesn’t mention anything, so I’ve used the same implementation here too.

NOTE: This code is Python 3 compatible only!

Open Source Agenda is not affiliated with "BinaryNet And XNORNet" Project. README Source: yaysummeriscoming/BinaryNet_and_XNORNet
Stars
55
Open Issues
6
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating