Coder Social home page Coder Social logo

nikhilbarhate99 / td3-pytorch-bipedalwalker-v2 Goto Github PK

View Code? Open in Web Editor NEW
101.0 4.0 31.0 29.53 MB

Twin Delayed DDPG (TD3) PyTorch solution for Roboschool and Box2d environment

License: MIT License

Python 100.00%
ddpg td3 deep-reinforcement-learning openai-gym bipedalwalker pytorch pytorch-implmention reinforcement-learning openai-gym-environments lunar-lander

td3-pytorch-bipedalwalker-v2's Introduction

TD3-BipedalWalker-v2-PyTorch

PyTorch implementation of Twin Delayed DDPG (TD3) tested on the following environments:

Usage

  • To test a preTrained network : run test.py

  • To train a new network : run train.py

Dependencies

Trained and tested on:

Python 3.6
PyTorch 0.4.1
NumPy 1.15.3
gym 0.10.8
Roboschool 1.0.46
Pillow 5.3.0

Results

BipedalWalker-v2 (800 episodes) LunarLanderContinuous-v2 (1500 episodes)
RoboschoolWalker2d-v1 (lr=0.002, 1400 episodes) HalfCheetah-v1 (lr=0.002, 1400 episodes)

*The results are not consistent for BipedalWalker-v2 env

References

td3-pytorch-bipedalwalker-v2's People

Contributors

nikhilbarhate99 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

td3-pytorch-bipedalwalker-v2's Issues

Consistent results ?

Hey ! Thanks for open-sourcing your implementation, it's good to see RL examples in PyTorch.

I've been using your work for some tests and I wanted to know how consistent was your policy ? I mean, it sometimes trains successfully while in some runs completely fails.

seed_0

seed_1

seed_2

seed_3

What do you think ?

Thanks (:

Solved Bipedal Walker Environment

I noticed in your code you only check if the average of the last 10 episodes are above 300. But on the leaderboard page it requires that the last 100 episode average is above 300. Did you test it with such a large averaging window? The reason I ask is because from the figures in this #2 it appears that the reward signal is not that stable to get such a high average. I've been trying to solve the same environment with DDPG and the agent will master it but make a few mistakes in between making it hard to get the 100-episode average above 300.

Also did you ever experience the agent forgetting what it has learned after training the model longer?

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.