|
|
4 years ago | |
|---|---|---|
| .. | ||
| __pycache__ | 4 years ago | |
| models | 4 years ago | |
| results | 4 years ago | |
| .DS_Store | 4 years ago | |
| README.md | 4 years ago | |
| data.py | 4 years ago | |
| main_binary.py | 4 years ago | |
| main_binary_hinge.py | 4 years ago | |
| main_mnist.py | 4 years ago | |
| preprocess.py | 4 years ago | |
| utils.py | 4 years ago | |
Binarized Neural Network (BNN) for pytorch This is the pytorch version for the BNN code, fro VGG and resnet models Link to the paper: https://papers.nips.cc/paper/6573-binarized-neural-networks
The code is based on https://github.com/eladhoffer/convNet.pytorch Please install torch and torchvision by following the instructions at: http://pytorch.org/ To run resnet18 for cifar10 dataset use: python main_binary.py --model resnet_binary --save resnet18_binary --dataset cifar10