-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbatch_run
25 lines (22 loc) · 996 Bytes
/
batch_run
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
#cls_arr=("bicycle" "boat" "sofa" "diningtable")
cls_arr=("dog" "cat" "motorbike" "boat" "aeroplane" "horse" "cow" "sofa" "diningtable" "bicycle")
#cls_arr=("dog" "cat" "motorbike" "boat" "aeroplane")
#cls_arr=("cow" "sofa" "diningtable" "bicycle")
#cls_arr=("jumping" "phoning" "playinginstrument" "reading" "ridingbike" "ridinghorse" "running" "takingphoto" "usingcomputer" "walking")
#cls_arr=("jumping" "phoning" "playinginstrument" "reading" "ridingbike")
#cls_arr=("ridinghorse" "running" "takingphoto" "usingcomputer" "walking")
#cls_arr=("takingphoto" "usingcomputer" "walking")
#scale_arr=("90" "80" "70" "60" "50")
#cls_arr=("phoning")
#cls_arr=("dog")
scale_arr=("40")
k='oarsub -p "host='"'"'big$1'"'"' " -l "nodes=1/core=4,walltime=500:0:0" --notify "mail:[email protected]" "python -u /home/wangxin/code/SVM_python/LSSVM/LSSVMMultiClass.py'
end='"'
space=' '
for scale in ${scale_arr[@]}
do
for cls in ${cls_arr[@]}
do
eval $k$space$cls$space$scale$end
done
done