Giter VIP home page Giter VIP logo

fewshotlearning's Introduction

FewshotLearning

In this repo, we reproduced some few-shot learning methods which are

  1. Prototypical Network for Few-shot Learning (https://arxiv.org/abs/1703.05175)
  2. Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks (https://arxiv.org/abs/1703.03400)
  3. Neural Statistician (in future) ...

We tested each methods with miniImagenet dataset, which can be found in https://github.com/renmengye/few-shot-ssl-public

how to use

First, download miniImagenet data and run generate_dataset_from_pkl.py with dataroot

python generate_dataset_from_pkl --datadir "downloaded pkl dir"

Then, you can run script file to train the model.

results

MAML

5way-1shot : 48.564 (0.840) / reported 48.70 (1.84)

5way-5shot : 64.127 (0.721) / reported 63.11 (0.91)

Protonet

5way-1shot : 52.547 (0.766) / reported 49.42 (0.78)

5way-5shot : 67.673 (0.648) / reported 68.20 (0.66)

-------other dataset (cy...) MAML 5way-1shot : 48.036 (0.820) 5way-5shot : 64.460 (0.711)

Prototnet

5way-1shot : 50.556 (0.834) 5way-5shot : 66.747 (0.659)

fewshotlearning's People

Contributors

minseop-aitrics avatar

Watchers

 avatar

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.