forked from aliborji/DetectionUpperbound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
46 lines (23 loc) · 3.69 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# to test
# python train_net.py --config ./configs/markable.yaml -a resnet101 --batch-size 250 --pretrained --num-workers 10 --multiprocessing-distributed --rank 0 --world-size 1 --evaluate --resume ./output/markable/1/model_last.pth #./output/voc/0.2/checkpoint_14.pth
# python train_net.py --config ./configs/coco.yaml -a resnet101 --pretrained --epochs 14 --batch-size 50 --num-workers 10 --lr 0.005 --multiprocessing-distributed --rank 0 --world-size 1 #--evaluate #--resume ./output/voc/checkpoint_9.pth
# for debugging only
# CUDA_VISIBLE_DEVICES=0 python train_net.py --config ./configs/coco.yaml -a resnet101 --batch-size 250 --pretrained --evaluate --resume ./output/coco/1/checkpoint_3.pth #./output/voc/0.2/checkpoint_14.pth
# python train_net.py --config ./configs/coco.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output/coco/1/checkpoint_3.pth #./output/voc/0.2/checkpoint_14.pth
# python train_net.py --config ./configs/markable.yaml -a resnet152 --batch-size 50 --pretrained --num-workers 20 --evaluate --resume ./output/markable/1_new/checkpoint_9.pth
# python train_net.py --config ./configs/coco.yaml -a resnet152 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_context/coco/1.8/model_last.pth
# VOC --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
python train_net.py --config ./configs/voc.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output/voc/1/model_last.pth
# python train_net.py --config ./configs/voc.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_context/voc/5/checkpoint_13.pth
# python train_net.py --config ./configs/voc.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_extended/voc/1/model_last.pth
#
# COCO --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# python train_net.py --config ./configs/coco.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_context/coco/2/checkpoint_9.pth
# python train_net.py --config ./configs/coco.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_context/coco/10/checkpoint_4.pth
# python train_net.py --config ./configs/coco.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_extended/coco/1/model_last.pth
# MARKABLE --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# python train_net.py --config ./configs/markable.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output/markable/1.2/checkpoint_13.pth
# python train_net.py --config ./configs/markable.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_context/markable/1.2/checkpoint_13.pth
# python train_net.py --config ./configs/openImages.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output/openImages/1/checkpoint_4.pth
#python train_net.py --config ./configs/voc.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output/voc/1/model_last.pth
# python train_net.py --config ./configs/markable.yaml -a resnet101 --batch-size 50 --pretrained --num-workers 10 --evaluate --resume ./output_extended/markable/1/model_last.pth