GithubHelp home page GithubHelp logo

chuong98 / curiosity-robot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from normandipalo/curiosity-robot

0.0 1.0 0.0 1.09 MB

Curiosity based exploration and playing in RL with Gym Robotics envs.

Python 1.13% Jupyter Notebook 98.87%

curiosity-robot's Introduction

An exploration of curiosity in robots.

In this project I explored the behaviour that emerges when training the Fetch robot in OpenAI's Gym environments with curiosity intrinsic reward. The robot learns to discover the cube by itself and rapidly starts playing with it, since it receives the highest curiosity reward from it. The RL algorithm is Proximal Policy Optimization, implemented in TensorFlow Eager.

Requirements

You'll need a recent version of TensorFlow (>= 1.8 in order to use the Eager Execution). The environments are based on the MuJoCo physics simulation, controlled through OpenAI gym. You can find a guide on how to install it in the OpenAI repository.

Code structure

In dyn_network.py there is all the code relative to the predictive dynamical model, that learns to predict the next state given the current state and action. It also implements a normalizer, used to obtain a better performance. In ppo.py the main reinforcement learning algorithm is implemented using Eager Execution. The notebook contains the main code to run the experiments.

Contacts

Feel free to drop me a line if you find bugs or you just feel curious. You can find me on Twitter: @normandipalo.

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.