-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtest.sh
executable file
·22 lines (20 loc) · 1.01 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
clear
#-----------------------------------------------------------------------------------------------------------------------
func_cls()
{
CUDA_VISIBLE_DEVICES=1 python extract_cls_oid.py --split coco_val2014
CUDA_VISIBLE_DEVICES=1 python extract_cls_oid.py --split coco_test2014
CUDA_VISIBLE_DEVICES=1 python extract_cls_oid.py --split coco_train2014
#CUDA_VISIBLE_DEVICES=1 python extract_cls_oid.py --split coco_test2015
#CUDA_VISIBLE_DEVICES=1 python extract_cls_oid.py --split chinese
#CUDA_VISIBLE_DEVICES=1 python extract_cls_oid.py --split chinese_val
}
func_det()
{ export PYTHONPATH=$PYTHONPATH:/home/jxgu/github/MIL.pytorch/misc/models/research/object_detection
CUDA_VISIBLE_DEVICES=1 python extract_det_oid.py --split coco_val2014
CUDA_VISIBLE_DEVICES=1 python extract_det_oid.py --split coco_test2014
CUDA_VISIBLE_DEVICES=1 python extract_det_oid.py --split coco_train2014
CUDA_VISIBLE_DEVICES=1 python extract_det_oid.py --split coco_test2015
}
func_cls