-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_hiql.sh
85 lines (63 loc) · 2.56 KB
/
run_hiql.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
83
84
85
for ((seed=0; seed<1; seed+=1))
do
device="cuda:3"
env_type=antmaze
dataset_type=umaze_v2
checkpoints_path='/your/path/to/checkpoints/'
way_steps=30
nohup python -u hiql.py --way_steps $way_steps --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml >/dev/null 2>&1 &
done
for ((seed=0; seed<1; seed+=1))
do
device="cuda:4"
env_type=antmaze
dataset_type=umaze_diverse_v2
way_steps=30
checkpoints_path='/your/path/to/checkpoints/'
nohup python -u hiql.py --way_steps $way_steps --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml >/dev/null 2>&1 &
done
for ((seed=0; seed<1; seed+=1))
do
device="cuda:5"
env_type=antmaze
dataset_type=medium_play_v2
way_steps=30
checkpoints_path='/your/path/to/checkpoints/'
nohup python -u hiql.py --way_steps $way_steps --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml >/dev/null 2>&1 &
done
for ((seed=0; seed<1; seed+=1))
do
device="cuda:6"
env_type=antmaze
dataset_type=medium_diverse_v2
way_steps=30
checkpoints_path='/your/path/to/checkpoints/'
nohup python -u hiql.py --way_steps $way_steps --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml >/dev/null 2>&1 &
done
for ((seed=1; seed<2; seed+=1))
do
device="cuda:0"
env_type=antmaze
dataset_type=large_play_v2
way_steps=30
checkpoints_path='/your/path/to/checkpoints/'
nohup python -u hiql.py --way_steps $way_steps --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml >/dev/null 2>&1 &
done
for ((seed=0; seed<1; seed+=1))
do
device="cuda:0"
env_type=antmaze
dataset_type=large_diverse_v2
way_steps=30
checkpoints_path='/home/my/offline-rl-transformer/dt/checkpoints/'
nohup python -u hiql.py --way_steps $way_steps --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml >/dev/null 2>&1 &
done
for ((seed=0; seed<1; seed+=1))
do
device="cuda:0"
env_type=antmaze
dataset_type=umaze_v2
checkpoints_path='/your/path/to/checkpoints/'
# checkpoints_path=None
python -u hiql.py --device $device --seed $seed --checkpoints_path $checkpoints_path --config_path ../configs/hiql/$env_type/$dataset_type.yaml
done