-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata_clean_poletti.sh
107 lines (87 loc) · 4.41 KB
/
data_clean_poletti.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/bin/bash
#read video name
#for v in 16 # 16 33
#do
# if [ ! -d ./data/mo_det_cal/mo_det_cal_dot_${v}fr ]; then
# mkdir -p ./data/mo_det_cal/mo_det_cal_dot_${v}fr;
# fi
# python ms_input.py mo_det_cal/mo_det_cal_dot_${v}fr mo_det_cal_dot_${v}fr 400
# if [ ! -d ./data/mo_det_cal/mo_det_cal_dot_m${v}fr ]; then
# mkdir -p ./data/mo_det_cal/mo_det_cal_dot_m${v}fr;
# fi
# python ms_input.py mo_det_cal/mo_det_cal_dot_m${v}fr mo_det_cal_dot_m${v}fr 400
#done
#if [ ! -d ./video/img_input/mo_det_cal/mo_det_cal_dot_deg60_16fr ]; then
# mkdir -p ./video/img_input/mo_det_cal/mo_det_cal_dot_deg60_16fr;
#fi
#if [ ! -d ./data/mo_det_cal/mo_det_cal_dot_deg60_16fr ]; then
# mkdir -p ./data/mo_det_cal/mo_det_cal_dot_deg60_16fr;
#fi
#python image_creation_dot.py mo_det_cal/mo_det_cal_dot_deg60_16fr 1 0 0 0 0
#python ms_input.py mo_det_cal/mo_det_cal_dot_deg60_16fr mo_det_cal_dot_deg60_16fr 400
#for i in 1 #50. 100. 200. #10 100
#do
for a in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # 1 5 7 10 12 15 #0 1 2 3 5 7 10 12 14 15
do
for i in 1 #{1..10}
do
date
#python data_clean.py poletti2010/exp1/cond2/ ${a}_8_pi_arc/ ${i} exp1_cond2
python data_clean.py poletti2010/exp1/cond2/ ${a}_8_pi_arc/ ${i} exp1_cond2_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp1/cond2_light/ ${a}_8_pi_arc/ ${i} exp1_cond2_light_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp1/cond4/ ${a}_8_pi_arc/ ${i} exp1_cond4_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp2/cond2/ ${a}_8_pi_arc/ ${i} exp2_cond2_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp2/cond4/ ${a}_8_pi_arc/ ${i} exp2_cond4_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp2/cond6/ ${a}_8_pi_arc/ ${i} exp2_cond6_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp2/cond8/ ${a}_8_pi_arc/ ${i} exp2_cond8_${a}_8_pi_arc_${i}
echo --- Simulation ${i} STARTS NOW ---
date
echo number: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_rem_0fr mo_det_cal_dot_rem_0fr 61. 16. 34 0. 40.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_1fr mo_det_cal_dot_1fr 121. 31. 34 1. 40.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_m1fr mo_det_cal_dot_m1fr 121. 31. 34 -1. 40.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_16fr 1 ${i} mo_det_cal_dot_16fr 121. 31. 1 1
#python ms_network.py mo_det_cal/mo_det_cal_dot_deg90_16fr mo_det_cal_dot_deg90_16fr 31. 121. 34 16. 40. 378.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_m16fr mo_det_cal_dot_m16fr 121. 31. 134 -16. 40.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_33fr mo_det_cal_dot_33fr 121. 31. 34 33. 40. 379.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_m33fr mo_det_cal_dot_m33fr 121. 31. 34 -33. 40.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_1fr mo_det_cal_dot_1fr 121. 31. 34 16. 40.
#python ms_network.py mo_det_cal/mo_det_cal_dot_m16fr mo_det_cal_dot_m16fr 121. 31. 34 16. 40.
#python ms_network.py mo_det_cal/mo_det_cal_dot_16fr mo_det_cal_dot_16fr 121. 31. 34 16. 40.
#echo delay: $i
#python ms_network.py mo_det_cal/mo_det_cal_dot_33fr mo_det_cal_dot_33fr 121. 31. 34 33. 40.
echo ---
done
done
for a in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for i in 1 #{1..10}
do
date
python data_clean.py poletti2010/exp1/cond4_light/ ${a}_8_pi_arc/ ${i} exp1_cond4_light_${a}_8_pi_arc_${i}
python data_clean.py poletti2010/exp2/cond7/ ${a}_8_pi_arc/ ${i} exp2_cond7_${a}_8_pi_arc_${i}
echo ---
done
done
for i in 1 2 3 4 5 6 7 8 9 10
do
date
python data_clean.py poletti2010/exp1/cond1/ ${i} exp1_cond1_${i}
python data_clean.py poletti2010/exp1/cond1_light/ ${i} exp1_cond1_light_${i}
python data_clean.py poletti2010/exp1/cond3/ ${i} exp1_cond3
python data_clean.py poletti2010/exp1/cond3_light/ ${i} exp1_cond3_light_${i}
python data_clean.py poletti2010/exp2/cond1/ ${i} exp2_cond1_${i}
python data_clean.py poletti2010/exp2/cond3/ ${i} exp2_cond3_${i}
python data_clean.py poletti2010/exp2/cond5/ ${i} exp2_cond5
date
echo ${i}: seven files processed
done
echo '---FINISHED---'
date