Skip to content
Projects

BoyuanJiang/matching-networks-pytorch

View on GitHub

About

Matching Networks for one shot learning

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

This is the pytorch implement of Matching Networks for One Shot Learning architecture

Train

If you want to train the model,simply run the code

python mainOmniglot.py 

You can set fce = True if you want use Full Context Embeddings.You can use the follow set in mainOmniglot.py for a 5-way one shot learning.

classes_per_set = 5
samples_per_class = 1

Result

After about 30 epoches,you can achieve about 97% accuracy on train set and 96% on val and test set. result

Acknowledgement

This work refer to gitabcworld's implement,detail athttps://github.com/AntreasAntoniou/MatchingNetworks.

Explore related projects

Loading…