-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_experiments.sh
executable file
·52 lines (49 loc) · 1.59 KB
/
run_experiments.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
#!/bin/bash
# Suppress failed 'flow' import
export D4RL_SUPPRESS_IMPORT_ERROR=1
envs=(
"halfcheetah-random-v0"
"hopper-random-v0"
"walker2d-random-v0"
"halfcheetah-medium-v0"
"hopper-medium-v0"
"walker2d-medium-v0"
"halfcheetah-expert-v0"
"hopper-expert-v0"
"walker2d-expert-v0"
"halfcheetah-medium-expert-v0"
"hopper-medium-expert-v0"
"walker2d-medium-expert-v0"
"halfcheetah-medium-replay-v0"
"hopper-medium-replay-v0"
"walker2d-medium-replay-v0"
# TODO upgrade to use v2 environments and compare against paper v0 baselines
# "halfcheetah-random-v2"
# "hopper-random-v2"
# "walker2d-random-v2"
# "halfcheetah-medium-v2"
# "hopper-medium-v2"
# "walker2d-medium-v2"
# "halfcheetah-expert-v2"
# "hopper-expert-v2"
# "walker2d-expert-v2"
# "halfcheetah-medium-expert-v2"
# "hopper-medium-expert-v2"
# "walker2d-medium-expert-v2"
# "halfcheetah-medium-replay-v2"
# "hopper-medium-replay-v2"
# "walker2d-medium-replay-v2"
# TODO utilize Gymnasium-Robotics and Minari for updated offline RL baselines
# https://github.com/Farama-Foundation/Minari
# DR4L is planning to support Minari envs
# List of supported tasks here: https://github.com/Farama-Foundation/d4rl/wiki/Tasks
# Note: will need to replicate for Minari
# https://github.com/Farama-Foundation/D4RL/blob/71a9549f2091accff93eeff68f1f3ab2c0e0a288/d4rl/offline_env.py#L71
)
for ((i = 0; i < 5; i += 1)); do
for env in ${envs[*]}; do
python3 main.py \
--env $env \
--seed $i
done
done