Skip to content
Snippets Groups Projects
Commit 7d327255 authored by Julien Dejasmin's avatar Julien Dejasmin
Browse files

Merge remote-tracking branch 'origin/master'

parents f6b95fb6 77e034e2
Branches
No related tags found
No related merge requests found
Showing
with 24 additions and 19 deletions
No preview for this file type
......@@ -27,11 +27,11 @@ The MNIST database of handwritten digits, available from this [link](http://yann
## Open Binary MNIST notebook:
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1-wKVHMf1GEMZhPHa3pJozFLfZLg4iNgO)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1mM9TUka5_qAS2fXnKBr2vcEb00qJfoaR)
## Results on MNIST:
### Loss/ACC:
### Loss/ACC: with 10 epochs.
| Models: 2 conv layers (29k parameters) | Loss | Accuracy (%) |
|:-----------------------------------------------------------------: |:--------------: |:--------------: |
| No binary models | **0.0341** | **98.79** |
......@@ -71,22 +71,27 @@ The Omniglot data set is designed for developing more human-like learning algori
## Open binary Omniglot notebook:
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Sd1zvImf4UzTiix7mnI6Hzk7vkeKNSLB#scrollTo=XVgZBwOCIdl0)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/10O-4vXF21i9mBL9Lcu6DXPVEqX628GaV)
## Results on MNIST:
### ACC:
## Results on Omniglot:
### ACC: with this repository with 10 epochs.
| Models: matching Network (MN) [4] | Accuracy (%) | Accuracy (%) |
|:-----------------------------------------------------------------: |:--------------: |:--------------: |
| k-way | 5 | ** |
| n-shot | 1 | ** |
|:-----------------------------------------------------------------: |:--------------: |:--------------: |
| No binary MN | 1 | ** |
|:-----------------------------------------------------------------: |:--------------: |:--------------: |
| binary MN: first conv | ? | ? |
| binary MN: second conv | ? | ? |
| binary MN: third conv | ? | ? |
| binary MN: fourth conv | ? | ? |
| Models: matching Network (MN) [4] | Accuracy (%) |
|:-----------------------------------------------------------------: |:--------------: |
| k-way | 5 |
| n-shot | 1 |
|:-----------------------------------------------------------------: |:--------------: |
| No binary MN | **84.4** |
|:-----------------------------------------------------------------: |:--------------: |
| binary MN: first conv | **79.6** |
| binary MN: second conv | **79.6** |
| binary MN: third conv | 64.8 |
| binary MN: fourth conv | 53.6 |
### Heatmap:
heatmap No binary network, conv layer1:
![heatmap binary network conv1|150x150](results/Omniglot_results/heatmap/heatmapbinary_MN_first_conv_conv1.png)
# References:
......
......@@ -4,10 +4,10 @@ import os
PATH = os.path.dirname(os.path.realpath(__file__))
# local DATA_PATH
DATA_PATH = '/home/julien/PycharmProjects/thesis/work/Pytorch/MNIST_Binary_V2/data/'
# DATA_PATH = '/home/julien/PycharmProjects/thesis/work/Pytorch/MNIST_Binary_V2/data/'
# colab DATA_PATH
# DATA_PATH = 'data/'
DATA_PATH = 'data/'
EPSILON = 1e-8
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff is collapsed.
results/Omniglot_results/heatmap/binary_MN_first_conv_conv1.png

1.14 KiB

results/Omniglot_results/heatmap/binary_MN_first_conv_conv1_superpose.png

2.04 KiB

results/Omniglot_results/heatmap/binary_MN_first_conv_conv2.png

866 B

results/Omniglot_results/heatmap/binary_MN_first_conv_conv2_superpose.png

2.1 KiB

results/Omniglot_results/heatmap/binary_MN_first_conv_conv3.png

451 B

results/Omniglot_results/heatmap/binary_MN_first_conv_conv3_superpose.png

2.42 KiB

results/Omniglot_results/heatmap/binary_MN_first_conv_conv4.png

228 B

results/Omniglot_results/heatmap/binary_MN_first_conv_conv4_superpose.png

1.94 KiB

results/Omniglot_results/heatmap/binary_MN_fourth_conv_conv1.png

1.22 KiB

results/Omniglot_results/heatmap/binary_MN_fourth_conv_conv1_superpose.png

2.4 KiB

results/Omniglot_results/heatmap/binary_MN_fourth_conv_conv2.png

851 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment