Skip to content

Commit dcd3024

Browse files
committed
Renew experiment scripts
1 parent 79709a4 commit dcd3024

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed

scripts/ar_gridworld.fish

Lines changed: 0 additions & 15 deletions
This file was deleted.

scripts/fr_gridworld.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import subprocess
2+
3+
MAPS = ["6x6guided", "6x6sparse", "6x6liar", "6x6spelunky", "6x6spenalty10"]
4+
5+
if __name__ == "__main__":
6+
for map_ in MAPS:
7+
path = "../examples/fr_gridworld.py"
8+
logdir = "Results/{}-ep01".format(map_)
9+
subprocess.run(
10+
[
11+
"pipenv",
12+
"run",
13+
"python",
14+
path,
15+
"--logdir",
16+
logdir,
17+
"--map",
18+
map_,
19+
"--num-policy-checks=20",
20+
"--max-steps=4000",
21+
"--epsilon=0.1",
22+
"--plot-save",
23+
]
24+
)

0 commit comments

Comments
 (0)