[go: nahoru, domu]

Skip to content

Commit

Permalink
Enforce consistency in root_dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
seungjaeryanlee committed May 13, 2019
1 parent 1adda7e commit c170034
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion tf_agents/agents/ddpg/examples/v1/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
To run:
```bash
tf_agents/agents/ddpg/examples/v1/train_eval -- \
python tf_agents/agents/ddpg/examples/v1/train_eval.py \
--root_dir=$HOME/tmp/ddpg_v1/gym/HalfCheetah-v2/ \
--num_iterations=2000000 \
--alsologtostderr
Expand Down
3 changes: 2 additions & 1 deletion tf_agents/agents/ddpg/examples/v1/train_eval_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
To run:
```bash
tf_agents/agents/ddpg/examples/v1/train_eval_rnn -- \
python tf_agents/agents/ddpg/examples/v1/train_eval_rnn.py \
--root_dir=$HOME/tmp/ddpg_rnn_v1/dm/CartPole-Balance/ \
--num_iterations=2000000 \
--alsologtostderr
```
"""
Expand Down
2 changes: 1 addition & 1 deletion tf_agents/agents/ddpg/examples/v2/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
To run:
```bash
tf_agents/google/agents/ddpg/examples/v2/train_eval -- \
python tf_agents/agents/ddpg/examples/v2/train_eval.py \
--root_dir=$HOME/tmp/ddpg/gym/HalfCheetah-v2/ \
--num_iterations=2000000 \
--alsologtostderr
Expand Down
3 changes: 2 additions & 1 deletion tf_agents/agents/ddpg/examples/v2/train_eval_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
To run:
```bash
tf_agents/google/agents/ddpg/examples/v2/train_eval_rnn -- \
python tf_agents/agents/ddpg/examples/v2/train_eval_rnn.py \
--root_dir=$HOME/tmp/ddpg_rnn/dm/CartPole-Balance/ \
--num_iterations=2000000 \
--alsologtostderr
```
"""
Expand Down
2 changes: 1 addition & 1 deletion tf_agents/agents/dqn/examples/v1/oog_train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
```bash
python tf_agents/agents/dqn/examples/v1/oog_train_eval.py \
--root_dir=$HOME/tmp/dqn/gym/cart-pole/ \
--root_dir=$HOME/tmp/dqn_v1/gym/CartPole-v0/ \
--alsologtostderr
```
"""
Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/dqn/examples/v1/train_eval_gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
```bash
python tf_agents/agents/dqn/examples/v1/train_eval_gym.py \
--root_dir=$HOME/tmp/dqn/gym/cart-pole/ \
--alsologtostderr
--root_dir=$HOME/tmp/dqn/gym_v1/CartPole-v0/ \
--alsologtostderr
```
"""

Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/dqn/examples/v1/train_eval_rnn_gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
```bash
python tf_agents/agents/dqn/examples/v1/train_eval_rnn_gym.py \
--root_dir=$HOME/tmp/rnn-dqn/gym/cart-pole/ \
--alsologtostderr
--root_dir=$HOME/tmp/dqn_rnn_v1/gym/MaskedCartPole-v0/ \
--alsologtostderr
```
"""

Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/dqn/examples/v2/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
```bash
python tf_agents/agents/dqn/examples/v2/train_eval.py \
--root_dir=$HOME/tmp/dqn/gym/cart-pole/ \
--root_dir=$HOME/tmp/dqn/gym/CartPole-v0/ \
--alsologtostderr
```
To run DQN-RNNs on MaskedCartPole:
```bash
python tf_agents/agents/dqn/examples/v2/train_eval.py \
--root_dir=$HOME/tmp/dqn/gym/masked-cart-pole/ \
--root_dir=$HOME/tmp/dqn_rnn/gym/MaskedCartPole-v0/ \
--gin_param='train_eval.env_name="MaskedCartPole-v0"' \
--gin_param='train_eval.train_sequence_length=10' \
--alsologtostderr
Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/ppo/examples/v1/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
tensorboard --logdir ~/tmp/ppo --port 2223 &
python tf_agents/agents/ppo/examples/v1/train_eval.py \
--root_dir=~/tmp/ppo \
--logtostderr
--root_dir=$HOME/tmp/ppo_v1/gym/HalfCheetah-v2/ \
--alsologtostderr
```
"""

Expand Down
2 changes: 1 addition & 1 deletion tf_agents/agents/ppo/examples/v2/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
tensorboard --logdir ~/tmp/ppo --port 2223 &
python tf_agents/agents/ppo/examples/v2/train_eval.py \
--root_dir=~/tmp/ppo \
--root_dir=$HOME/tmp/ppo/gym/HalfCheetah-v2/ \
--logtostderr
```
"""
Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/reinforce/examples/v1/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
```bash
python tf_agents/agents/reinforce/examples/v1/train_eval.py \
--root_dir=$HOME/tmp/reinforce/gym/cart-pole/ \
--alsologtostderr
--root_dir=$HOME/tmp/reinforce_v1/gym/CartPole-v0/ \
--alsologtostderr
```
"""

Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/reinforce/examples/v2/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
```bash
python tf_agents/agents/reinforce/examples/v2/train_eval.py \
--root_dir=$HOME/tmp/reinforce/gym/cart-pole/ \
--alsologtostderr
--root_dir=$HOME/tmp/reinforce/gym/CartPole-v0/ \
--alsologtostderr
```
"""

Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/sac/examples/v1/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
```bash
python tf_agents/agents/sac/examples/v1/train_eval.py \
--root_dir=$HOME/tmp/sac/gym/half-cheetah/ \
--alsologtostderr
--root_dir=$HOME/tmp/sac_v1/gym/HalfCheetah-v2/ \
--alsologtostderr
```
"""

Expand Down
4 changes: 2 additions & 2 deletions tf_agents/agents/sac/examples/v2/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
```bash
python tf_agents/agents/sac/examples/v2/train_eval.py \
--root_dir=$HOME/tmp/sac/gym/half-cheetah/ \
--alsologtostderr
--root_dir=$HOME/tmp/sac/gym/HalfCheetah-v2/ \
--alsologtostderr
```
"""

Expand Down
3 changes: 1 addition & 2 deletions tf_agents/agents/td3/examples/v1/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
To run:
```bash
tf_agents/agents/td3/examples/v1/train_eval -- \
python tf_agents/agents/td3/examples/v1/train_eval.py \
--root_dir=$HOME/tmp/td3_v1/gym/HalfCheetah-v2/ \
--num_iterations=2000000 \
--alsologtostderr
```
"""

from __future__ import absolute_import
Expand Down
3 changes: 1 addition & 2 deletions tf_agents/agents/td3/examples/v1/train_eval_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
To run:
```bash
tf_agents/agents/td3/examples/v1/train_eval_rnn -- \
python tf_agents/agents/td3/examples/v1/train_eval_rnn.py \
--root_dir=$HOME/tmp/td3_rnn_v1/dm/CartPole-Balance/ \
--alsologtostderr
```
"""

from __future__ import absolute_import
Expand Down
2 changes: 1 addition & 1 deletion tf_agents/agents/td3/examples/v2/train_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
To run:
```bash
tf_agents/agents/td3/examples/v2/train_eval -- \
python tf_agents/agents/td3/examples/v2/train_eval.py \
--root_dir=$HOME/tmp/td3/gym/HalfCheetah-v2/ \
--num_iterations=2000000 \
--alsologtostderr
Expand Down
2 changes: 1 addition & 1 deletion tf_agents/agents/td3/examples/v2/train_eval_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
To run:
```bash
tf_agents/agents/td3/examples/v2/train_eval_rnn -- \
python tf_agents/agents/td3/examples/v2/train_eval_rnn.py \
--root_dir=$HOME/tmp/td3_rnn/dm/CartPole-Balance/ \
--alsologtostderr
```
Expand Down

0 comments on commit c170034

Please sign in to comment.