We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760fde7 commit e50e96eCopy full SHA for e50e96e
experiment-rs.sh
@@ -21,7 +21,7 @@ if [[ $use_action_space_bucketing = *"True"* ]]; then
21
use_action_space_bucketing_flag='--use_action_space_bucketing'
22
fi
23
24
-cmd="python3 -m src.experiments \
+cmd="python3 -u -m src.experiments \
25
--data_dir $data_dir \
26
$exp \
27
--model $model \
@@ -60,6 +60,13 @@ cmd="python3 -m src.experiments \
60
--gpu $gpu \
61
$ARGS"
62
63
-echo "Executing $cmd"
+echo $cmd
64
+
65
+arr=(${data_dir//// })
66
+dataset=${arr[1]}
67
68
+LOG_FILE="logs/rs_"$dataset"_"$model"_GPU_"$gpu".log"
69
70
+nohup $cmd>$LOG_FILE 2>&1 &
71
72
-$cmd
0 commit comments