-
Notifications
You must be signed in to change notification settings - Fork 3
/
iaa.sh
executable file
·49 lines (39 loc) · 1.24 KB
/
iaa.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
set -eux
A1PRE=datasets/iaa/ewt-test_iaa50.nschneid.novalidator.cgel
A2PRE=datasets/iaa/ewt-test_iaa50.brettrey.novalidator.cgel
A1=datasets/iaa/ewt-test_iaa50.nschneid.validator.cgel
A2=datasets/iaa/ewt-test_iaa50.brettrey.validator.cgel
ADJ=datasets/iaa/ewt-test_iaa50.adjudicated.cgel
OUT=datasets/iaa/iaa.out
echo "# A1PRE ~ A2PRE" > $OUT
echo "+python eval.py $A1PRE $A2PRE" >> $OUT
python eval.py $A1PRE $A2PRE >> $OUT
echo "" >> $OUT
echo "# A1PRE ~ A1" >> $OUT
echo "+python eval.py $A1PRE $A1" >> $OUT
python eval.py $A1PRE $A1 >> $OUT
echo "" >> $OUT
echo "# A2PRE ~ A2" >> $OUT
echo "+python eval.py $A2PRE $A2" >> $OUT
python eval.py $A2PRE $A2 >> $OUT
echo "" >> $OUT
echo "# A1 ~ A2" >> $OUT
echo "+python eval.py $A1 $A2" >> $OUT
python eval.py $A1 $A2 >> $OUT
echo "" >> $OUT
echo "# ADJ ~ A1PRE" >> $OUT
echo "+python eval.py $ADJ $A1PRE" >> $OUT
python eval.py $ADJ $A1PRE >> $OUT
echo "" >> $OUT
echo "# ADJ ~ A2PRE" >> $OUT
echo "+python eval.py $ADJ $A2PRE" >> $OUT
python eval.py $ADJ $A2PRE >> $OUT
echo "" >> $OUT
echo "# ADJ ~ A1" >> $OUT
echo "+python eval.py $ADJ $A1" >> $OUT
python eval.py $ADJ $A1 >> $OUT
echo "" >> $OUT
echo "# ADJ ~ A2" >> $OUT
echo "+python eval.py $ADJ $A2" >> $OUT
python eval.py $ADJ $A2 >> $OUT