Plaese refer to README_mmrot.md.
Please refer to Installation for installation instructions.
Please make sure that data files sturcture should be the following.
[DATA_ROOT]
|--annotations
| |--instances_tran.json
| |--instances_val.json
| |--instances_test.json
|--train
| |--XXX.png
|--val
| |--YYY.png
|--test
|--ZZZ.png
Then, run MakeOBBAnnotations.py
to make OBB annotations from polygon.
- Make sure that you should change
DATA_ROOT
to your own path. - Each text file is created according to each image name.
- Order of annotations are the same as DOTA format.
- a path of
OBB
having OBB annotations will be added.
[DATA_ROOT]
|--annotations
| |--instances_tran.json
| |--instances_val.json
| |--instances_test.json
|--OBB
| |--train
| | |--XXX.txt
| |--val
| | |--YYY.txt
| |--test
| |--ZZZ.txt
|--train
| |--XXX.png
|--val
| |--YYY.png
|--test
|--ZZZ.png
- There are config files that I used in the
./configs/bldg_redet
andconfigs/bldg_roi_trans
. - You have to change 'DATA_ROOT' to your own path.
- You can use each file to train and test the model. Please refer to detailed option at get_started.md.