forked from guicho271828/latplan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_all.sh
executable file
·49 lines (41 loc) · 1.61 KB
/
test_all.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
#!/bin/bash -x
set -e
trap exit SIGINT
ulimit -v 16000000000
# not so interesting
# parallel --files <<EOF
#
# ./strips.py conv puzzle summary mandrill 3 3 36 20000
# ./action_autoencoder.py samples/puzzle_mandrill_3_3_36_20000_conv/ test
#
# ./strips.py conv puzzle summary mnist 3 3 36 20000
# ./action_autoencoder.py samples/puzzle_mnist_3_3_36_20000_conv/ test
#
# ./strips.py conv puzzle summary spider 3 3 36 20000
# ./action_autoencoder.py samples/puzzle_spider_3_3_36_20000_conv/ test
#
# ./strips.py conv lightsout summary digital 4 36 20000
# ./action_autoencoder.py samples/lightsout_digital_4_36_20000_conv/ test
#
# ./strips.py conv lightsout summary twisted 4 36 20000
# ./action_autoencoder.py samples/lightsout_twisted_4_36_20000_conv/ test
#
# ./strips.py conv hanoi summary 4 3 36 60
# ./action_autoencoder.py samples/hanoi_4_3_36_60_conv/ test
# EOF
parallel "./action_discriminator.py samples/{1} test > samples/logs/{1}.ad.log" ::: \
puzzle_mandrill_3_3_36_20000_conv \
puzzle_mnist_3_3_36_20000_conv \
puzzle_spider_3_3_36_20000_conv \
lightsout_digital_4_36_20000_conv \
lightsout_twisted_4_36_20000_conv \
hanoi_4_3_36_81_conv
parallel -j 2 "./state_discriminator3.py samples/{1} test > samples/logs/{1}.sd.log" ::: \
puzzle_mandrill_3_3_36_20000_conv \
puzzle_mnist_3_3_36_20000_conv \
puzzle_spider_3_3_36_20000_conv \
lightsout_digital_4_36_20000_conv \
lightsout_twisted_4_36_20000_conv \
hanoi_4_3_36_81_conv
# ros build samples/table.ros
samples/table.ros samples/logs/*.log