Giter Club home page Giter Club logo

ntm-meta-learning's Introduction

Meta-Learning with Memory Augmented Neural Networks

A chainer implementation of Meta-Learning with Memory Augmented Neural Networks
(This paper is also known as One-shot Learning with Memory Augmented Neural Networks )

  • Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, Timothy Lillicrap, Meta-Learning with Memory-Augmented Neural Networks, [link]
  • Some code is taken from tristandeleu's implementation with Lasagne.

How to run

  1. Download the Omniglot dataset and place it in the data/ folder.
  2. Run the scripts in data/omniglot to prepare dataset.
  3. Run scripts/train_omniglot.py (Use gpu option if needed)

Summary of the paper

The authors attack the problem of one-shot learning by the approach of meta-learning. They propose Memory Augmented Neural Network, which is a variant of Neural Turing Machine, and train it to learn "how to memorize unseen characters." After the training, the model can learn unseen characters in a few shot.

ntm-meta-learning's People

Contributors

ywatanabex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ntm-meta-learning's Issues

A question

I run the code of Meta-Learning with Memory-Augmented Neural Networks,but the result is not as predicted.
The accuracy of 1st instance is larger than 10th instance.Image results in the attachment.Why is this?
Is the order of 1st and 10th reversed?
hisdata25600

TypeError: The first input argument needs to be a sequence

when it is trying to train with the train_omniglot.py, i am hitting into this issue. can shed me some lights?

Traceback (most recent call last):
File "train_omniglot.py", line 52, in
for i, (images, labels) in train_generator:
File "../utils/generators.py", line 44, in next
return self.next()
File "../utils/generators.py", line 53, in next
for _img in zip(_images)]
File "../utils/generators.py", line 53, in
for _img in zip(
_images)]
TypeError: The first input argument needs to be a sequence

Intuition behind data split

This is a great project! Could you describe the intuition behind your data split procedure?
Obviously you mixed the original background and evaluation sets to create the new train and test sets.
I can also see that the created train and test sets don't match the setup in the paper 'One-shot Learning with Memory-Augmented Neural Networks'.

Thanks you!
T

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.