Skip to content

Commit 8d03386

Browse files
committed
update setup explanation
1 parent 0232677 commit 8d03386

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

GETTING_STARTED.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ python ROAS_devkit/prepare_roas.py --srcpath path_to_dota --dstpath path_to_spli
2727
```
2828
Then you will get data in the following structure
2929
```
30-
roas_split
30+
roas16-split
3131
├── test1024_2x
3232
│   ├── coco.json
3333
│   └── images
@@ -65,23 +65,23 @@ Assume that you have already downloaded the checkpoints to `work_dirs/`.
6565
1. Test Faster R-CNN with RoI Transformer. [Pretrained Weight: RoI Transformer with Resnet101](https://drive.google.com/file/d/1q99Lg9hw2AvLuS0NUXzWisQKEMjPR7DI/view?usp=sharing)
6666

6767
```shell
68-
python tools/test.py configs/ROAS/faster_rcnn_RoITrans_r101_fpn_2x_roas_768.py \
69-
work_dirs/faster_rcnn_RoITrans_r101_fpn_2x_roas_768/epoch_12.pth
68+
python tools/test.py configs/ROAS/faster_rcnn_RoITrans_r101_fpn_2x_roas16.py \
69+
work_dirs/faster_rcnn_RoITrans_r101_fpn_2x_roas16/epoch_12.pth
7070
```
7171

7272
2. Test Faster R-CNN with RoI Ttransformer with 4 GPUs.
7373

7474
```shell
75-
./tools/dist_test.sh configs/ROAS/faster_rcnn_RoITrans_r101_fpn_2x_roas_768.py \
76-
work_dirs/faster_rcnn_RoITrans_r101_fpn_2x_roas_768/epoch_12.pth \
75+
./tools/dist_test.sh configs/ROAS/faster_rcnn_RoITrans_r101_fpn_2x_roas16.py \
76+
work_dirs/faster_rcnn_RoITrans_r101_fpn_2x_roas16/epoch_12.pth \
7777
4
7878
```
7979

8080
3. Parse the results.pkl to the format which is used in [DOTA evaluation](http://117.78.28.204:8001/)
8181

8282
For methods with only OBB Head, set the type OBB.
8383
```
84-
python tools/parse_results.py --config configs/ROAS/faster_rcnn_RoITrans_r101_fpn_2x_roas_768.py --type OBB
84+
python tools/parse_results.py --config configs/ROAS/faster_rcnn_RoITrans_r101_fpn_2x_roas16.py --type OBB
8585
```
8686

8787
4. Merge results as csv
@@ -93,6 +93,7 @@ python3 ROAS_devkit/merge_results_as_csv.py --srcpath ${PARSING PATH}$ --dstpath
9393
```
9494
python3 ROAS_devkit/evaluate_roas.py --gt_csv_path ${GT_PATH}$ --pred_csv_path ${PRED_PATH}
9595
```
96+
You have to prepare csv file for ground-truth by **./ROAS_devkit/geojson2csv.py**.
9697

9798
### Demo of inference in a large size image.
9899

0 commit comments

Comments
 (0)