Skip to content

Commit f2dffdc

Browse files
authored
Merge pull request #2 from fastmachinelearning/feature/add_mobilnet_and_bipolar_nets
Updated TFC and CNV models, added mobilenet. Closes #1
2 parents 95ba56d + c8a01b7 commit f2dffdc

File tree

12 files changed

+67
-4
lines changed

12 files changed

+67
-4
lines changed
-1.67 KB
Binary file not shown.
-806 Bytes
Binary file not shown.
216 Bytes
Binary file not shown.

models/CIFAR10/Brevitas_FINN_CNV/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ NOTE: Accuracy numbers listed here are taken from the Brevitas repo, and are not
2121

2222
## Train
2323

24-
The training scripts for these models are located in the [Brevitas Repo](https://github.com/Xilinx/brevitas/tree/master/src/brevitas_examples/bnn_pynq)
24+
The training scripts for these models are located in the [Brevitas Repo](https://github.com/Xilinx/brevitas/tree/master/src/brevitas_examples/bnn_pynq).
2525

2626
## License
2727

28-
Models are licensed under LICENSE.md within this directory
28+
Models are licensed under LICENSE.txt within this directory.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Copyright (c) 2018- Xilinx, Inc (Alessandro Pappalardo)
2+
Copyright (c) 2016- Facebook, Inc (Adam Paszke)
3+
Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
4+
Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
5+
Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
6+
Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
7+
Copyright (c) 2011-2013 NYU (Clement Farabet)
8+
Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
9+
Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
10+
Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
11+
12+
All rights reserved.
13+
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are met:
16+
17+
1. Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
20+
2. Redistributions in binary form must reproduce the above copyright
21+
notice, this list of conditions and the following disclaimer in the
22+
documentation and/or other materials provided with the distribution.
23+
24+
3. Neither the names of Xilinx, Facebook, Deepmind Technologies, NYU,
25+
NEC Laboratories America and IDIAP Research Institute nor the names
26+
of its contributors may be used to endorse or promote products derived
27+
from this software without specific prior written permission.
28+
29+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
30+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
33+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
34+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
35+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
36+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
37+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
39+
POSSIBILITY OF SUCH DAMAGE.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Brevitas QONNX Examples
2+
3+
This repo contains pretrained models in the Quantized ONNX format (QONNX), which were trained and exported using [Brevitas](https://github.com/Xilinx/brevitas).
4+
5+
These pretrained models and training scripts (located in the [Brevitas Repo](https://github.com/Xilinx/brevitas/tree/master/src/brevitas_examples/imagenet_classification) are courtesy of
6+
[Alessandro Pappalardo](https://github.com/volcacius).
7+
8+
## Models
9+
10+
The mobilenet model is based on the MobilnNets V1 architecture, published in the [MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications](https://arxiv.org/abs/1704.04861) paper.
11+
12+
NOTE: Accuracy numbers listed here are taken from the Brevitas repo, and are not verified running through QONNX at this time.
13+
14+
| Name | Input quantization | Weight quantization | Activation quantization | Dataset | Top1 accuracy | Top5 accuracy |
15+
|----------------|--------------------|---------------------|-------------------------|----------|---------------|---------------|
16+
| mobilenet_4W4A | 8 bit | 4 bit | 4 bit | ImageNet | 84.22% | 90.10% |
17+
18+
## Train
19+
20+
The training scripts for these models are located in the [Brevitas Repo](https://github.com/Xilinx/brevitas).
21+
22+
## License
23+
24+
Models are licensed under LICENSE.txt within this directory.
Binary file not shown.

models/MNIST/Brevitas_FINN_TFC/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ NOTE: Accuracy numbers listed here are taken from the Brevitas repo, and are not
2121

2222
## Train
2323

24-
The training scripts for these models are located in the [Brevitas Repo](https://github.com/Xilinx/brevitas/tree/master/src/brevitas_examples/bnn_pynq)
24+
The training scripts for these models are located in the [Brevitas Repo](https://github.com/Xilinx/brevitas/tree/master/src/brevitas_examples/bnn_pynq).
2525

2626
## License
2727

28-
Models are licensed under LICENSE.md within this directory
28+
Models are licensed under LICENSE.txt within this directory.
-706 Bytes
Binary file not shown.
-278 Bytes
Binary file not shown.
150 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)