GithubHelp home page GithubHelp logo

dmdp's Introduction

Delayed TRPO and DQN

PuddleWorld can be installed following: https://github.com/EhsanEI/gym-puddle

To train the algortihms whose results are gathered in the paper, run the following commands:

TRPO on deterministic environment:

TRPO train with deterministic delays and Pendulum:

python run_trpo.py --env Pendulum --mode train --seed 0 --delay 3 --epochs 1000 --steps_per_epoch 5000 --max_ep_len 250 --delta 0.001 --v_hid 64 --v_l 1 --vf_lr 0.01 --v_iters 3 --pi_hid 64 --pi_l 2

Delayed TRPO train with deterministic delays and Pendulum:

python run_dtrpo.py --env Pendulum --mode train --seed 0 --delay 3 --epochs 1000 --steps_per_epoch 5000 --max_ep_len 250 --delta 0.001 --v_hid 64 --v_l 1 --vf_lr 0.01 --v_iters 3 --pi_hid 64 --pi_l 2 --pretrain_epochs 2 --pretrain_steps 10000 --size_pred_buf 100000 --batch_size_pred 10000 --train_enc_iters 1 --enc_lr 0.005 --enc_dim 64 --enc_pred_to_pi --enc_causal

Delayed TRPO train with stochastic delays and Pendulum:

python run_dtrpo.py --env Pendulum --mode train --seed 0 --stochastic_delays --max_delay 50 --delay_proba 0.55 --epochs 500 --steps_per_epoch 5000 --max_ep_len 250 --delta 0.001 --v_hid 64 --v_l 1 --vf_lr 0.01 --v_iters 3 --pi_hid 64 --pi_l 2 --pretrain_epochs 2 --pretrain_steps 10000 --size_pred_buf 100000 --batch_size_pred 10000 --enc_lr 0.005 --enc_dim 64 --enc_pred_to_pi --enc_causal

DQN on stochastic environment:

DQN train with deterministic delays, PuddleWorld:

python run_dqn.py --env PuddleWorld --seed 0 --mode train --delay 3 --learning_rate 0.005 --batch_size 64 --frame_history_len 1 --learning_freq 1 --q_fun_neurons 64 --max_timesteps 2000000 --dueling_dqn --double_dqn

Delayed DQN train with deterministic delays, PuddleWorld:

python run_ddqn.py --env PuddleWorld --seed 0 --mode train --delay 3 --learning_rate 0.005 --batch_size 64 --frame_history_len 1 --dueling_dqn --double_dqn --learning_freq 1 --q_fun_neurons 64 --max_timesteps 2000000 --batch_size_pred 64 --enc_causal

dmdp's People

Contributors

povaz avatar pierresdr avatar

Watchers

 avatar

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.