-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrun.sh
executable file
·31 lines (25 loc) · 1.01 KB
/
run.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
#!/bin/bash
DOMAIN_NAME="Blocks"
# DOMAIN_NAME="Miconic"
# DOMAIN_NAME="Gripper"
# DOMAIN_NAME="Ferry"
# DOMAIN_NAME="Logistics"
# DOMAIN_NAME="Hanoi"
METHOD="PLOI"
# METHOD="Pure Plan"
# METHOD="Rand Score"
if [ "$METHOD" = "PLOI" ]
then
cmd_str="python main.py --domain_name $DOMAIN_NAME --train_planner_name fd-opt-lmcut --test_planner_name fd-lama-first --guider_name gnn-bce-10 --num_seeds 10 --num_train_problems 40 --num_test_problems 10 --do_incremental_planning 1 --timeout 120"
fi
if [ "$METHOD" = "Pure Plan" ]
then
cmd_str="python main.py --domain_name $DOMAIN_NAME --test_planner_name fd-lama-first --guider_name no-guidance --num_seeds 10 --num_test_problems 10 --do_incremental_planning 0 --timeout 120"
fi
if [ "$METHOD" = "Rand Score" ]
then
cmd_str="python main.py --domain_name $DOMAIN_NAME --test_planner_name fd-lama-first --guider_name no-guidance --num_seeds 10 --num_test_problems 10 --do_incremental_planning 1 --timeout 120"
fi
echo "Running Python command:"
echo $cmd_str
eval $cmd_str