Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
ImageNet classification using binary Convolutional Neural Networks
| Date | Stars |
|---|---|
| 2026-07-31 | 871 |
| 2026-08-05 | 872 |
| 2026-08-06 | 872 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
## XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks.
This is the Torch 7.0 implementation of XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks.
### Citation
```bash
@inproceedings{rastegariECCV16,
Author = {Mohammad Rastegari and Vicente Ordonez and Joseph Redmon and Ali Farhadi},
Title = {XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks},
Booktitle = {ECCV},
Year = {2016}
}
```
### Requirements
This software is implemented on top of the implementation of [ImageNet-multiGPU](https://github.com/soumith/imagenet-multiGPU.torch) and has all the same requirements.
Download the cache files from [here](https://s3-us-west-2.amazonaws.com/ai2-vision/xnornet/cache.tar) and run:
```bash
tar -xvf ./cache.tar
```
### Training Binary Weight Network
```bash
th main.lua -data [path to ImageNet dataset] -nGPU 1 -batchSize 128 -netType alexnet -binaryWeight -dropout 0.1
```
### Training XNOR-Networks
```bash
th main.lua -data [path to ImageNet dataset] -nGPU 4 -batchSize 800 -netType alexnetxnor -binaryWeight -optimType adam -epochSize 1500
```
### Trained Models
To use the trained models use the option `-retrain [path to the trained model file]` and `-testOnly`
[Binary-Weight-Network(BWN)](https://s3-us-west-2.amazonaws.com/ai2-vision/xnornet/alexnet_BWN.t7)
[XNOR-Network](https://s3-us-west-2.amazonaws.com/ai2-vision/xnornet/alexnet_XNOR.t7)
If you use the same image pre-processing as [here](https://github.com/soumith/imagenet-multiGPU.torch) by
```bash
find . -name "*.JPEG" | xargs -I {} convert {} -resize "256^>" {}
```
then the accuracies for top-1 should be:
alexnet_BWN %56.8
alexnet_XNOR %43.3
### License
By downloading this software you acknowledged that you agreed on the terms and conditions in the `SOFTWARE-LICENSE-AGREEMENT.lic`
Excerpt of 1,870 characters
Read on GitHub2
Michael Schmitz
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:431307e0c605285b, llm:Description: 'ImageNet classification using binary Convolutional Neural Networks' (repository implements XNOR-Net binary CNNs for image classification).
matched fp:431307e0c605285b, llm:Description: 'ImageNet classification using binary Convolutional Neural Networks' (repository implements XNOR-Net binary CNNs for image classification).
matched fp:431307e0c605285b, llm:Description: 'ImageNet classification using binary Convolutional Neural Networks' (repository implements XNOR-Net binary CNNs for image classification).