Git Product home page Git Product logo

gbml's Introduction

GBML

A collection of Gradient-Based Meta-Learning Algorithms with pytorch

python3 main.py --alg=MAML
python3 main.py --alg=Reptile
python3 main.py --alg=CAVIA

Results on miniImagenet

  • Without pre-trained encoder (Use 64 channels by default. The exceptions are in parentheses)
5way 1shot 5way 1shot (ours) 5way 5shot 5way 5shot (ours)
MAML 48.70 ± 1.84% 49.00 % 63.11 ± 0.92% 65.18 %
Reptile 47.07 ± 0.26% 43.40 % 62.74 ± 0.37% -
CAVIA 49.84 ± 0.68% (128) 50.07 % (64) 64.63 ± 0.53% (128) 64.21 % (64)
iMAML 49.30 ± 1.88% - - -
Meta-Curvature 55.73 ± 0.94% (128) - 70.30 ± 0.72% (128) -
  • With pre-trained encoder (To be implemented.)
5way 1shot 5way 1shot (ours) 5way 5shot 5way 5shot (ours)
Meta-SGD 56.58 ± 0.21% - 68.84 ± 0.19% -
LEO 61.76 ± 0.08% - 77.59 ± 0.12% -
Meta-Curvature 61.85 ± 0.10% - 77.02 ± 0.11% -

Dependencies

To do

  • Add ResNet and Pre-trained encoder
  • Add iMAML, Meta-Curvature

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.