All Projects → gitabcworld → Matchingnetworks

gitabcworld / Matchingnetworks

Licence: other
This repo provides pytorch code which replicates the results of the Matching Networks for One Shot Learning paper on the Omniglot and MiniImageNet dataset

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Matchingnetworks

Learning2AdaptForStereo
Code for: "Learning To Adapt For Stereo" accepted at CVPR2019
Stars: ✭ 73 (-71.48%)
Mutual labels:  meta-learning
rl implementations
No description or website provided.
Stars: ✭ 40 (-84.37%)
Mutual labels:  meta-learning
resilient-swarm-communications-with-meta-graph-convolutional-networks
Meta graph convolutional neural network-assisted resilient swarm communications
Stars: ✭ 49 (-80.86%)
Mutual labels:  meta-learning
Meta-TTS
Official repository of https://arxiv.org/abs/2111.04040v1
Stars: ✭ 69 (-73.05%)
Mutual labels:  meta-learning
granblue-automation-android
Educational application written in Kotlin aimed at automating user-defined workflows for the mobile game, "Granblue Fantasy", using MediaProjection, AccessibilityService, and OpenCV.
Stars: ✭ 26 (-89.84%)
Mutual labels:  matching
CDFSL-ATA
[IJCAI 2021] Cross-Domain Few-Shot Classification via Adversarial Task Augmentation
Stars: ✭ 21 (-91.8%)
Mutual labels:  meta-learning
re-blossom
A Reason implementation of the blossom maximum-matching algorithm
Stars: ✭ 15 (-94.14%)
Mutual labels:  matching
Meta-SAC
Auto-tune the Entropy Temperature of Soft Actor-Critic via Metagradient - 7th ICML AutoML workshop 2020
Stars: ✭ 19 (-92.58%)
Mutual labels:  meta-learning
Open-L2O
Open-L2O: A Comprehensive and Reproducible Benchmark for Learning to Optimize Algorithms
Stars: ✭ 108 (-57.81%)
Mutual labels:  meta-learning
Meta-SelfLearning
Meta Self-learning for Multi-Source Domain Adaptation: A Benchmark
Stars: ✭ 157 (-38.67%)
Mutual labels:  meta-learning
MeTAL
Official PyTorch implementation of "Meta-Learning with Task-Adaptive Loss Function for Few-Shot Learning" (ICCV2021 Oral)
Stars: ✭ 24 (-90.62%)
Mutual labels:  meta-learning
maml-rl-tf2
Implementation of Model-Agnostic Meta-Learning (MAML) applied on Reinforcement Learning problems in TensorFlow 2.
Stars: ✭ 16 (-93.75%)
Mutual labels:  meta-learning
matchering-cli
🎚️ Simple Matchering 2.0 Command Line Application
Stars: ✭ 28 (-89.06%)
Mutual labels:  matching
maml-tensorflow
This repository implements the paper, Model-Agnostic Meta-Leanring for Fast Adaptation of Deep Networks.
Stars: ✭ 17 (-93.36%)
Mutual labels:  meta-learning
mods-light-zmq
MODS with external deep descriptors/detectors
Stars: ✭ 46 (-82.03%)
Mutual labels:  matching
aho-corasick-node
A Node implementation of the Aho-Corasick string matching algorithm based on DoubleArray Trie.
Stars: ✭ 16 (-93.75%)
Mutual labels:  matching
PAML
Personalizing Dialogue Agents via Meta-Learning
Stars: ✭ 114 (-55.47%)
Mutual labels:  meta-learning
e-osvos
Implementation of "Make One-Shot Video Object Segmentation Efficient Again” and the semi-supervised fine-tuning "e-OSVOS" approach (NeurIPS 2020).
Stars: ✭ 31 (-87.89%)
Mutual labels:  meta-learning
allot
Parse placeholder and wildcard text commands
Stars: ✭ 51 (-80.08%)
Mutual labels:  matching
dropclass speaker
DropClass and DropAdapt - repository for the paper accepted to Speaker Odyssey 2020
Stars: ✭ 20 (-92.19%)
Mutual labels:  meta-learning

Matching Networks for One Shot Learning

This repo provides a Pytorch implementation fo the Matching Networks for One Shot Learning paper.

Installation of pytorch

The experiments needs installing Pytorch

Data

For the Omniglot dataset the download of the dataset is automatic. For the miniImageNet you need to download the ImageNet dataset and execute the script utils.create_miniImagenet.py changing the lines:

pathImageNet = '<path_to_downloaded_ImageNet>/ILSVRC2012_img_train'
pathminiImageNet = '<path_to_save_MiniImageNet>/miniImagenet/'

And also change the main file option.py line or pass it by command line arguments:

parser.add_argument('--dataroot', type=str, default='<path_to_save_MiniImageNet>/miniImagenet/',help='path to dataset')

Installation

$ pip install -r requirements.txt
$ python mainOmniglot.py `#Code for OmniGlot`
$ python mainMiniImageNet.py `#Code for miniImageNet`

Acknowledgements

Special thanks to https://github.com/zergylord and https://github.com/AntreasAntoniou for their Matching Networks implementation. I intend to use some parts for this implementation. More details at https://github.com/zergylord/oneshot and https://github.com/AntreasAntoniou/MatchingNetworks

Cite

@inproceedings{vinyals2016matching,
  title={Matching networks for one shot learning},
  author={Vinyals, Oriol and Blundell, Charles and Lillicrap, Tim and Wierstra, Daan and others},
  booktitle={Advances in Neural Information Processing Systems},
  pages={3630--3638},
  year={2016}
}

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].