File size: 2,281 Bytes
6d35aff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
echo 'Evaluating the results of our method on the WHOLE test sets.'
echo 'Current ITB_PRED = '${ITB_PRED}
echo 'Current SEM_PRED = '${SEM_PRED}

echo interactable on union_test dataset
# python evaluate_coco.py -gt ../dataset/data/coco_det/annotations/interactable.json \
python evaluate_coco.py -gt ./gts/det/interactable/union_test.json \
                        -dt ./results/ours/${ITB_PRED}_union_test.json \
                        --log ./eval_results/ours/${ITB_PRED}_i.csv \
                        -d i -n -s > ./eval_results/ours/${ITB_PRED}_i_summary.txt

echo interactable on 613 test dataset
python evaluate_coco.py -gt ./gts/det/interactable/613.json \
                        -dt ./results/ours/${ITB_PRED}_613.json \
                        --log ./eval_results/ours/${ITB_PRED}_613_i.csv \
                        -d i -n -s > ./eval_results/ours/${ITB_PRED}_613_i_summary.txt

echo interactable on genre test dataset
python evaluate_coco.py -gt ./gts/det/interactable/genre.json \
                        -dt ./results/ours/${ITB_PRED}_genre.json \
                        --log ./eval_results/ours/${ITB_PRED}_genre_i.csv \
                        -d i -n -s > ./eval_results/ours/${ITB_PRED}_genre_i_summary.txt

echo semantics on union_test dataset
# python evaluate_coco.py -gt ../dataset/data/coco_det/annotations/semantics.json \
python evaluate_coco.py -gt ./gts/det/semantics/union_test.json \
                        -dt ./results/ours/${SEM_PRED}.json \
                        --log ./eval_results/ours/${SEM_PRED}_s.csv \
                        -d s -s > ./eval_results/ours/${SEM_PRED}_s_summary.txt

echo semantics on 613 test dataset
python evaluate_coco.py -gt ./gts/det/semantics/613.json \
                        -dt ./results/ours/${SEM_PRED}_613.json \
                        --log ./eval_results/ours/${SEM_PRED}_613_s.csv \
                        -d s -s > ./eval_results/ours/${SEM_PRED}_613_s_summary.txt

echo semantics on genre test dataset
python evaluate_coco.py -gt ./gts/det/semantics/genre.json \
                        -dt ./results/ours/${SEM_PRED}_genre.json \
                        --log ./eval_results/ours/${SEM_PRED}_genre_s.csv \
                        -d s -s > ./eval_results/ours/${SEM_PRED}_genre_s_summary.txt