Code Monkey home page Code Monkey logo

meta-reinforcement-learning's Introduction

Meta Reinforcement Learning Notebooks

This Repository contains codes related to FL-RL Project. The complete codes and notebooks will be published soon.

The purpose of this project is to implement and test the PyTorch codes of Meta reinforcement Learning approaches from scratch.

Requirements

Content

  • Trust Region Policy Optimization
  • MAML A2C
  • MAML TRPO
  • MAML PPO
  • ANIL
  • SNAIL
  • Reptile

Experiments

Half Cheetah Environment

Training for 300 iterations.

plot1

  • TRPO-MAML trained model output

  • After 3 TRPO Update steps on forward task

  • After 3 TRPO Update steps on backward task

Ant Environment

Training for 900 iterations.

plot2

  • TRPO-MAML trained model output

  • After 5 TRPO Update steps on forward task

  • After 5 TRPO Update steps on backward task

References

  1. Finn, C., Abbeel, P. & Levine, S. Model-agnostic meta-learning for fast adaptation of deep networks. 34th Int. Conf. Mach. Learn. ICML 2017 3, 1856–1868 (2017).
  2. Raghu, A., Raghu, M., Bengio, S. & Vinyals, O. Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAML. 1–21 (2019).
  3. Mishra, N., Rohaninejad, M., Chen, X. & Abbeel, P. A Simple Neural Attentive Meta-Learner. 6th Int. Conf. Learn. Represent. ICLR 2018 - Conf. Track Proc. 1–17 (2017).
  4. Schulman, J., Levine, S., Moritz, P., Jordan, M. I. & Abbeel, P. Trust Region Policy Optimization. 32nd Int. Conf. Mach. Learn. ICML 2015 3, 1889–1897 (2015).
  5. Schulman, J., Wolski, F., Dhariwal, P., Radford, A. & Klimov, O. Proximal Policy Optimization Algorithms. 1–12 (2017).

meta-reinforcement-learning's People

Contributors

troddenspade 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

Watchers

 avatar  avatar  avatar  avatar

Forkers

xminry

meta-reinforcement-learning's Issues

env.set_task for Navigation2DEnv

Hello! First and foremost, I want to express my appreciation for your great work. I've come across an issue with the ANIL, especially when I want to use Navigation2DEnv.

env.set_task(env.sample_tasks(1)[0])
env.set_task(task_config)

In the Navigation2DEnv, there is no env.set_task attribute. If I want to use Navigation2DEnv, what should I write to replace set_task?
Thank you

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.