Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkweon/mnist-competition
mnist competition submission repo for Tensorflow KR group
https://github.com/kkweon/mnist-competition
Last synced: 3 months ago
JSON representation
mnist competition submission repo for Tensorflow KR group
- Host: GitHub
- URL: https://github.com/kkweon/mnist-competition
- Owner: kkweon
- Created: 2017-04-21T21:47:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-30T20:30:13.000Z (over 7 years ago)
- Last Synced: 2024-10-03T12:39:00.694Z (3 months ago)
- Language: Python
- Size: 1.47 MB
- Stars: 36
- Watchers: 2
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[resnet]: images/resnet.png "ResNet Model"
[vggnet]: images/vggnet.png "VggNet Model"
[vggnet5]: images/vggnet5.png "VggNet5 Model"# MNIST Competition Tensorflow KR Group
* MNIST competition submission files
* Used Keras
* [Model Architecture](#model-architectures)
* [ResNet](#resnet)
* [VggNet](#vggnet)
* [VggNet5](#vggnet5)## Performance
| **Model** | **Description** | **Accuracy** |
|:-----------:|:-----------------------------------------------:|:------------:|
| VGG-like | VGGNet-like but smaller | 99.71% |
| Resnet-like | ResNet-like but smaller | 99.60% |
| VGG-like | VGGNet-like but even smaller than the first one | 99.63% |
| **Final** | **Ensemble 3 models + Voting** | **99.80%** |## Run
#### Evaluation
```bash
python evaluation.py
```#### Train
```bash
python resnet.py 10 # 10 epochs & resnet
python vgg16.py 10 # 10 epochs & vgg
python vgg5.py 10 # 10 epochs & vgg
```## File descriptions
```bash
├── evaluation.py # evaluation.py
├── images # model architectures
│ ├── resnet.png
│ ├── vggnet5.png
│ └── vggnet.png
├── MNIST # mnist data (not included in this repo)
│ ├── t10k-images-idx3-ubyte.gz
│ ├── t10k-labels-idx1-ubyte.gz
│ ├── train-images-idx3-ubyte.gz
│ └── train-labels-idx1-ubyte.gz
├── model # model weights
│ ├── resnet.h5
│ ├── vggnet5.h5
│ └── vggnet.h5
├── model.py # base model interface
├── README.md
├── utils.py # helper functions
├── resnet.py
├── vgg16.py
└── vgg5.py
```## Model Architectures
#### ResNet
![resnet][resnet]#### VggNet
![vggnet][vggnet]#### VggNet5
![vggnet5][vggnet5]