-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed ordering of values to keras convention
- Loading branch information
Showing
17 changed files
with
16,358 additions
and
16,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Neural Network Training | ||
|
||
The training can be done with either Pytorch or Keras, but Pytorch is recommended because of the unreliable | ||
API of Tensorflow (the foundation of Keras) | ||
|
||
Make sure you install all requirements: | ||
|
||
````shell script | ||
pip install -r requirements.txt | ||
```` | ||
|
||
To train the network simply run in a terminal: | ||
|
||
```shell script | ||
|
||
python train_torch.py | ||
python quantize.py | ||
|
||
``` | ||
|
||
or use the Jupyter notebook to train the network. | ||
|
||
## Quantisiation | ||
|
||
For quantisation fixed point quantisation has been used. | ||
|
||
| Network | Accuracy | | ||
|----------------------|---------:| | ||
| Network: | 0.9832 | | ||
| Quantised Network: | 0.9349 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.