Coder Social home page Coder Social logo

maml-tensorflow's Introduction

MAML

Intro

This repository implements the paper, Model-Agnostic Meta-Leanring for Fast Adaptation of Deep Networks.

Requirements

  • Tensorflow (v1.3 or higher)
  • better_exceptions, tqdm, Pillow, etc.

Training statisitics

  • Sinusoid

    Sinusoide Result Red line - ground truth, Red dots - given observation, Blue line - predicted line after 1 sgd step

  • Omniglot

    • Omniglot Testing (multiple descent steps)

    Ominglot Result

    • valid_acc_{0,1} means accuracy after 1 and 2 SGD steps. The valid_acc is the accuracy after the weights are trained with 3 SGD steps.

Training

Download datasets

Downlaod Omniglot dataset from the link. Only images_background.zip and images_evalueation.zip are required.

Unzip on the directory (repository)/datasets/omniglot/, so the directory shoud looks like (repo)/datasets/omniglot/{images_background,images_evaluation}.

Run train

  • Run sinusoide: python sinusoide.py
  • Run omniglot: python omniglot.py

Change the hyperparameters accordingly as you want. Please check at the bottom of each script.

TODO

  • Mini Imagenet Training
  • Robotic Simulation.

Acknowledgement

  • Author's original implementation: link

maml-tensorflow's People

Contributors

hiwonjoon avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

maml-tensorflow's Issues

How to test?

Dear,

Thanks to your project,

then I want to plot the png in your instructions
and test the data after training.

Thanks

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.