Coder Social home page Coder Social logo

juggling-rl's Introduction

Juggling-RL a Reinforcement Learning project

Introduction

This project is inspired by the paper Kai Ploeger, Michael Lutter and Jan Peters. High Acceleration Reinforcement Learning for Real-World Juggling with Binary Rewards,Conference on Robot Learning (CoRL), 2020.

We implemented two different reinforcement learning approches in order to teach a mujoco robotic model how to juggle:

  • The first approach was to use Direct Policy Search methods to optimise an expert policy we crafted
  • The second was to use deep reinforcement learning to determine the optimal policy for juggling

scene preview

How to run

To run the project first install the following python dependencies using pip or conda depending on your environment:

  • numpy
  • matplotlib
  • mujoco
  • mediapy
  • gymnasium
  • tensorflow
  • os
  • visualkeras

Then clone the repository on your machine.

You will find two jupyter notebooks inside the src directory:

  • RL_DPS is our implementation using the Direct Policy Search Method
  • RL is our implementation using deep deterministic policy gradient

Simply run all the cells to see results.

Paper

For more information about the implementation please refer to our paper in the docs folder.

juggling-rl's People

Contributors

joe-khawand avatar serv360 avatar

Watchers

Benjamin Moreau avatar Kostas Georgiou avatar Gawon Lee avatar  avatar

Forkers

mkswingac

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.