-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_trick_sweep.sh
executable file
·82 lines (72 loc) · 3.51 KB
/
run_trick_sweep.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
timesteps=10000000
env_id="Breakout-v5 MsPacman-v5 Assault-v5 Zaxxon-v5 Tennis-v5"
seeds=3
workers=1
gittag=$(git describe --tags)
for (( startseed=1; startseed<=$seeds; startseed++ ))
do
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_none --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_all --symlog True --two-hot True --percentile-scale True --critic-ema --unimix 0.01 --critic-zero-init True --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_symlog --symlog True --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_twohot --two-hot True --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_percentile --percentile-scale True --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_twohot_criticema --two-hot True --critic-ema True --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_unimix --unimix 0.01 --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
poetry run python -m cleanrl_utils.benchmark \
--env-ids $env_id \
--command "poetry run python ppo_v3/ppo_envpool_tricks.py --exp-name ppo_envpool_tricks_zeroinit --critic-zero-init True --total-timesteps $timesteps --track" \
--start-seed $startseed \
--num-seeds 1 \
--workers $workers
done
poetry run python -m openrlbenchmark.rlops \
--filters '?we=ryan-colab&wpn=PPO-v3&ceik=env_id&cen=exp_name&metric=charts/human_normalized_score' \
"ppo_envpool_tricks_none?tag=${gittag}" \
"ppo_envpool_tricks_symlog?tag=${gittag}" \
"ppo_envpool_tricks_twohot?tag=${gittag}" \
"ppo_envpool_tricks_percentile?tag=${gittag}" \
"ppo_envpool_tricks_twohot_criticema?tag=${gittag}" \
"ppo_envpool_tricks_unimix?tag=${gittag}" \
"ppo_envpool_tricks_zeroinit?tag=${gittag}" \
"ppo_envpool_tricks_all?tag=${gittag}" \
--env-ids $env_id \
--ncols 2 \
--ncols-legend 2 \
--output-filename static/cleanrl_vs_baselines \
--scan-history \
--report