Coder Social home page Coder Social logo

davide97l / rl-traingenerator Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 16.28 MB

Automatic code generator for training Reinforcement Learning policies

Home Page: https://davideliu.com/2021/01/03/automatic-code-generator-for-training-reinforcement-learning-policies/

License: MIT License

Python 67.59% Shell 0.18% HTML 32.23%
traingenerator streamlit reinforcement-learning dqn gym automatic-code-generation pytorch tianshou

rl-traingenerator's Introduction

rl-traingenerator

Automatic code generator for training Reinforcement Learning policies:joystick:


Generate custom template code to train you reinforcement learning policy using a simple web UI built with streamlit. It includes different environments and can be expanded to support multiple policies and frameworks with an high level of flexible hyperparameters customization. The generated code can be easily downloaded as .py file or Jupyter Notebook so to immediately start training your model or use it as a baseline for your project. The backbone of this project has been taken from this repository where you can contribute with your own template.

Features

Supported frameworks:

Supported policies:

  • DQN
  • More to come...

Compatible environments:

  • Atari: Pong, Breakout, MsPacman, ...
  • Classic Control: CartPole, Acrobot
  • Box2D: LunarLander

Usage

Clone this repository and set up the environment:

git clone https://github.com/davide97l/rl-traingenerator/
cd rl-traingenerator
pip install -r requirements.txt

Run it locally:

streamlit run app/main.py

Deploying to Heroku:

heroku create
git push heroku main
heroku open

Update deployed app:

git push heroku main

Support

If you found this project interesting please support me by giving it a โญ, I would really appreciate it ๐Ÿ˜€

rl-traingenerator's People

Contributors

davide97l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rl-traingenerator's Issues

Next steps

  • A2C
  • PPO
  • Generate file atari_wrapper.py

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.