-
Notifications
You must be signed in to change notification settings - Fork 7
/
test.sh
34 lines (22 loc) · 893 Bytes
/
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
#!/usr/bin/env bash
PYTHON=${PYTHON:-"python"}
GPUS="1"
ROOT="oriented_rcnn"
# ROOT="roi_transformer"
# CONFIG='faster_rcnn_roitrans_r50_fpn_1x_ms_rr_daota10'
# CONFIG='faster_rcnn_orpn_swin_fpn_1x_ms_rr_dota10'
# CONFIG='faster_rcnn_orpn_swinS_fpn_1x_ms_rr_dota10'
# CONFIG='faster_rcnn_roitrans_swinS_fpn_1x_ms_rr_dota10'
# CONFIG='faster_rcnn_orpn_swinS_fpn_1x_ss_rr_dota10'
# CONFIG='faster_rcnn_orpn_swinT_fpn_1x_ss_rr_dota10'
# CONFIG='faster_rcnn_orpn_swinT_fpn_1x_ms_rr_dota10'
# CONFIG='faster_rcnn_orpn_swinT_fpn_1x_ss600_rr_dota10'
CONFIG='faster_rcnn_orpn_swinT_fpn_1x_ss1024_rr_dota10'
## single GPU
python tools/test.py configs/obb/$ROOT/$CONFIG.py\
work_dirs/$CONFIG/epoch_6.pth\
--format-only\
--options save_dir=submission/after_nms
python tools/dota_to_fair.py
# Multiple GPU
# ./tools/dist_train.sh configs/$ROOT/$CONFIG.py $GPUS