• Stars
    star
    100
  • Rank 338,776 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Proximal Policy Optimization implementation with TensorFlow

PPO

Proximal Policy Optimization implementation with Tensorflow.

https://arxiv.org/pdf/1707.06347.pdf

This repository has been much updated from commit id a4fbd383f0f89ce2d881a8b78d6b8a03294e5c7c . New PPO requires a new dependency, rlsaber which is my utility repository that can be shared across different algorithms.

Some of my design follow OpenAI baselines. But, I used as many default tensorflow packages as possible unlike baselines, that makes my codes easier to be read.

In addition, my PPO automatically switches between continuous action-space and discrete action-space depending on environments. If you want to change hyper parameters, check atari_constants.py or box_constants.py, which will be loaded depending on environments too.

requirements

  • Python3

dependencies

usage

training

$ python train.py [--env env-id] [--render] [--logdir log-name]

example

$ python train.py --env BreakoutNoFrameskip-v4 --logdir breakout

playing

$ python train.py --demo --load results/path-to-model [--env env-id] [--render]

example

$ python train.py --demo --load results/breakout/model.ckpt-xxxx --env BreakoutNoFrameskip-v4 --render

performance examples

Pendulumn-v0

image

BreakoutNoFrameskip-v4

image

implementation

This is inspired by following projects.

License

This repository is MIT-licensed.

More Repositories

1

d3rlpy

An offline deep reinforcement learning library
Python
924
star
2

d4rl-pybullet

Datasets for data-driven deep reinforcement learning with PyBullet environments
Python
140
star
3

minerva

An out-of-the-box GUI tool for offline deep reinforcement learning
JavaScript
86
star
4

d4rl-atari

Datasets for data-driven deep reinforcement learning with Atari (wrapper for datasets released by Google)
Python
70
star
5

d3rlpy-benchmarks

Benchmark data for d3rlpy
Python
12
star
6

mvc-drl

Cleanest deep reinforcement learning implementation based on Web MVC architecture with complete unit testings
Python
10
star
7

icm

Intrinsic Curiosity Module implementation with TensorFlow
Python
9
star
8

cpp-dqn

Blazingly Fast Implementation of Deep Q-Network in C++ with NNabla
C++
9
star
9

rsvg

Recurrent Stochastic Value Gradient implementation with TensorFlow
Python
8
star
10

android-countrylist

This library is Android library for using country names and 2-alphabet codes
Java
5
star
11

GeoMap

GeoChart view library for Android
Java
4
star
12

miniature

a toy deep learning library written in Rust
Rust
4
star
13

singan-nnabla

SinGAN implementation with NNabla
Python
4
star
14

ddpg

Deep Deterministic Policy Gradient implementation with TensorFlow
Python
3
star
15

a3c

A3C implementation with TensorFlow
Python
3
star
16

configurable-control-gym

Configurable control tasks based on default environments included in OpenAI Gym
Python
3
star
17

a2c

A2C implementation with TensorFlow
Python
3
star
18

dotfiles

Lua
2
star
19

takuseno.github.io

Personal website
JavaScript
2
star
20

beta-vae

beta-VAE implementation with TensorFlow
Python
2
star
21

github-notebook

Markdown editor for GitHub
JavaScript
1
star
22

watchgpu-master

Master sever of GPU visualization
JavaScript
1
star
23

nnabla-mlflow

mlflow utilities for nnabla
Python
1
star
24

nand2tetris

Study codes of "The Elements of Computing Systems"
Hack
1
star
25

dqn-sokushukai

Sample DQN code for 速習会 in Wantedly
Python
1
star
26

watchgpu-edge

Edge server of GPU visualziation
Python
1
star
27

probabilistic_robotics

Study code of Probabilistic Robotics
Jupyter Notebook
1
star
28

nsg

News Source Getter
Python
1
star
29

unreal

UNREAL implementation with TensorFlow
Python
1
star
30

mvc-drl-nnabla

NNabla implementation of mvc-drl
Python
1
star