This Repository is Reinforcement Learning Agent FrameWork

tensorflow_RL-master.zip

This repository is designed to provide an easy demo reinforcement learning framework for those studying deep reinforcement learning.

This framework is based on a tensorflow. And the basic model is implemented in example_model directory. If you want to use your own model, please refer provided model in example_model directory

We provide a tutorial to train the agent for the environment, and tutorials by action and input shape are provided as follows.

Environment

Continuous Action MLP - bipedalwalker, pendulum
Discrete Action MLP - LunarLander
Discrete Action CNN - Breakout

Algorithms

Continuous Action MLP - DDPG, TD3, PPO, PPO2
Discrete Action MLP - Vanilla PG, A2C, PPO, DQN, QRDQN, IQN
Discrete Action CNN - Vanilla PG, A2C, PPO, DQN, QRDQN, IQN

Our tutorial is being done in the gym environment provided by openai and you need to install the openai gym and box2d to run the tutorial code.

Installation

from git repository

https://github.com/RLOpensource/tensorflow_RL
pip install .

cpu version

pip install tensorflow-rl[tf-cpu]

gpu version

pip install tensorflow-rl[tf-gpu]

If you install this repository by only

pip install tensorflow-rl

tensorflow is not installed

Requirements

tensorflow
box2d
gym
numpy
tensorboardX

Implemented

  •  Vanilla Policy Gradient
  •  Advantage Actor Critic
  •  Proximal Policy Optimization
  •  Deep Deterministic Policy Gradient
  •  Value based Reinforcement Learning
  •  Soft Actor Critic
  •  LSTM train Algorithm

Demonstration

1. Continuous Action BipedalWalker

  • Script : bipedalwalker_td3.py, bipedalwalker_ddpg.py, bipedalwalker_ppo.py, bipedalwalker_ppo2.py
  • Environment : BipedalWalker-v2
  • Orange : td3, Blue: ddpg, SkyBlue: ppo, Pink: ppo2
  • Episode : 600
  • Image : td3
BipedalWalker

2. Continuous Action Pendulum

  • Script : pendulum_td3.py, pendulum_ddpg.py
  • Environment : Pendulum-v0
  • Orange : ddpg, Blue: td3
  • Episode : 300
  • Image : td3
Pendulum

3. Discrete Action CNN Breakout

  • Script : breakout_rollout_a2c.py, breakout_rollout_ppo.py, breakout_rollout_vpg.py
  • Environment : BreakoutDeterministic-v4 with Multi-processing
  • Blue : ppo, Orange : a2c, Red : vpg
  • Episode : 600
  • Image : PPO
Breakout

4. Discrete Action MLP LunarLander

  • Script : lunarLander_rollout_a2c.py, lunarLander_rollout_ppo.py, lunarLander_rollout_vpg.py
  • Environment : LunarLander-v2 with Multi-processing
  • Blue : ppo, Orange : a2c, Red : vpg
  • Episode : 350
  • Image : PPO
LunarLander

5. Value Based Reinforcement Learning with CNN

  • Script : breakout_value_dqn.py, breakout_value_qrdqn.py, breakout_value_iqn.py
  • Environment : BreakoutDeterministic-v4 with Multi-processing
  • Green : IQN, Blue : QRDQN, Pink : DQN
  • Episode : 280
  • Image : IQN
Breakout
 

6. Value Based Reinforcement Learning with MLP

  • Script : lunarLander_value_dqn.py, lunarLander_value_qrdqn.py, lunarLander_value_iqn.py
  • Environment : LunarLander-v2 with Multi-processing
  • Orange : IQN, Blue : QRDQN, Red : DQN
  • Episode : 250
  • Image : IQN
Breakout
 

7. Discrete Action CNN LSTM Breakout inspired from drqn

  • Script : breakout_rollout_ppo_1stack_lstm.py, breakout_rollout_ppo_1stack.py
  • Environment : BreakoutDeterministic-v4 with Multi-processing
  • Orange : PPOLSTM, Blue : PPO-1stack
  • Episode : 1000
  • Image : PPOLSTM
Breakout
 

Member

License

We do not have the copyright to this repository.

Please 'just' use these code and just 'refer' the url of repository in any form.

MIT License

Reference

[1] mario_rl

[2] Proximal Policy Optimization

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

[3] Efficient Parallel Methods for Deep Reinforcement Learning

[4] High-Dimensional Continuous Control Using Generalized Advantage Estimation

[5] Asynchronous Methods for Deep Reinforcement Learning

[6] Continuous Control With Deep Reinforcement Learning

[7] Vanilla Policy Gradient

[8] Deep Recurrent Q-Learning for Partially Observable MDPs

[9] Playing Atari with Deep Reinforcement Learning

[10] Distributional Reinforcement Learning with Quantile Regression

[11] Implicit Quantile Networks for Distributional Reinforcement Learning

[12] OpenAI Spinningup

[13] Reinforcement Learning Korea PG Travel

[14] Medipixel Reinforcement Learning Repository

Please fork this repository and contribute to strengthen the tensorflow reinforcement learning ecosystem

Support us in any form. Thank you

Content us to chagmgang@gmail.com

 

[출처] https://github.com/RLOpensource/tensorflow_RL

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
공지 오라클 기본 샘플 데이터베이스 졸리운_곰 2014.01.02 86307
공지 [SQL컨셉] 서적 "SQL컨셉"의 샘플 데이타 베이스 SAMPLE DATABASE of ORACLE 가을의 곰을... 2013.02.10 78757
공지 [G_SQL] Sample Database 가을의 곰을... 2012.05.20 95505
46 [데이터분석 & 데이터 사이언스] 수많은 데이터 사이언티스트들이 직장을 떠나는 이유는 무엇인가? file 졸리운_곰 2025.03.09 901
45 [데이터분석][파이썬][python] 한글 글꼴 사용 (matplotlib) 졸리운_곰 2024.04.18 1360
44 [데이터분석 & 데이터 사이언스] 데이터에 관한 꼭 알아야 할 오해와 진실 12가지 졸리운_곰 2024.01.17 1315
43 [데이터분석][파이썬][python] Awesome Dash Awesome file 졸리운_곰 2021.07.10 2340
42 [데이터분석][파이썬][python] ???? Introducing Dash ???? file 졸리운_곰 2021.07.10 1607
41 [dataset] (한글) 욕설 감지 데이터셋 file 졸리운_곰 2021.05.12 1559
40 [데이터분석][python] Dash를 사용하는 초보자 및 기타 모든 사용자를위한 Python의 대시 보드 file 졸리운_곰 2021.04.14 1762
39 [데이터분석][python] Dash를 사용하는 초보자 및 기타 모든 사용자를위한 Python의 대시 보드 file 졸리운_곰 2021.04.14 1605
38 [데이터분석][데이터 사이언스][python][Dash] Python, Dash 및 Plotly를 사용하여 COVID-19 사례 데이터 시각화 file 졸리운_곰 2021.03.28 1501
37 [데이터분석][머신러닝] When not to use machine learning or AI Adventures in wishful thinking, nonstationarity, and pattern-finding / 기계 학습 또는 AI를 사용하지 않아야하는 경우 희망찬 사고, 비정상 성, 패턴 찾기의 모험 file 졸리운_곰 2021.03.28 21622
36 [MSA][머신러닝] 쿠버네티스 기반의 End2End 머신러닝 플랫폼 Kubeflow #1 - 소개 file 졸리운_곰 2021.03.21 1136
35 [데이터사이언스] 데이터 과학자를위한 3 가지 훌륭한 디자인 패턴, 3 Great Design Patterns for Data Scientists file 졸리운_곰 2021.03.04 780
34 [데이터분석] 시계열 데이터에 AI를 사용하는 이유는 무엇입니까? file 졸리운_곰 2021.02.28 1193
33 [데이터분석] AI 예측 및 이상 탐지를위한 시계열 데이터 전처리 file 졸리운_곰 2021.02.28 1031
32 [데이터분석] bitcoin analysis 비트 코인 시계열 데이터에 대한 AI 이상 탐지 file 졸리운_곰 2021.02.27 1592
31 [데이터분석 & 데이터 사이언스] How To Create a Data Science Portfolio Website file 졸리운_곰 2021.02.14 1824
30 [데이터수집4] 오픈 API 데이터 수집 (소셜미디어 데이터 수집) file 졸리운_곰 2020.06.12 1951
29 [데이터수집3] 관계형 데이터베이스 데이터 수집 file 졸리운_곰 2020.06.12 1317
28 [데이터수집2] 분산시스템 로그 수집 (빅데이터 수집) file 졸리운_곰 2020.06.12 1493
27 [데이터수집1] 웹 크롤링, 웹 스크래핑 file 졸리운_곰 2020.06.12 1804
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED