GithubHelp home page GithubHelp logo

meta-sgd-rl's Introduction

Meta-SGD: Learning to Learn Quickly for Few-Shot Learning

Implementation of Meta-SGD applied on Reinforcement Learning problems in Pytorch. This repository includes environments introduced in (Duan et al., 2016, Finn et al., 2017): multi-armed bandits, tabular MDPs, continuous control with MuJoCo, and 2D navigation task.

Usage

You can use the main.py script in order to run reinforcement learning experiments with Meta-SGD. This script was tested with Python 3.7.

python main.py --env-name HalfCheetahDir-v1 --fast-lr 0.1 --lr-ppo 5e-5 --num-workers 20 --fast-batch-size 20 --meta-batch-size 20 --num-layers 2 --hidden-size 100 --num-batches 1000 --tau 0.99 --ppo-update-time 5 --output-folder maml-halfcheetah-dir-ppo --device cuda

This repository are based on the paper

Li Z, Zhou F, Chen F, et al. Meta-SGD: Learning to learn quickly for few-shot learning[J]. arXiv preprint arXiv:1707.09835, 2017. [ArXiv]

meta-sgd-rl's People

Contributors

bbdrive avatar

Stargazers

FSLSuperme avatar LJ tang avatar  avatar

Watchers

c4cld avatar  avatar

meta-sgd-rl's Issues

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.