| echo 'Filter predictions on test set' | |
| echo 'Current ITB_PRED = '${ITB_PRED} | |
| echo 'Current SEM_PRED = '${SEM_PRED} | |
| echo filter predictions on test set of union split | |
| python filter_test_prediction.py -g ./gts/det/interactable/union_test.json -p ./results/ours/${ITB_PRED}.json -o ./results/ours/${ITB_PRED}_union_test.json | |
| python filter_test_prediction.py -g ./gts/det/semantics/union_test.json -p ./results/ours/${SEM_PRED}.json -o ./results/ours/${SEM_PRED}_union_test.json | |
| echo filter predictions on test set of genre split | |
| python filter_test_prediction.py -g ./gts/det/interactable/genre.json -p ./results/ours/${ITB_PRED}.json -o ./results/ours/${ITB_PRED}_genre.json | |
| python filter_test_prediction.py -g ./gts/det/semantics/genre.json -p ./results/ours/${SEM_PRED}.json -o ./results/ours/${SEM_PRED}_genre.json | |
| echo filter predictions on test set of 613 split | |
| python filter_test_prediction.py -g ./gts/det/interactable/613.json -p ./results/ours/${ITB_PRED}.json -o ./results/ours/${ITB_PRED}_613.json | |
| python filter_test_prediction.py -g ./gts/det/semantics/613.json -p ./results/ours/${SEM_PRED}.json -o ./results/ours/${SEM_PRED}_613.json | |
| echo filter predictions on test set of cat split | |
| python filter_test_prediction.py -g ./gts/context/context/cat.json -p ./results/ours/${SEM_PRED}.json -o ./results/ours/${SEM_PRED}_cat.json | |