The DOTA dataset can be downloaded from [DOTA](https://captain-whu.github.io/DOTA/dataset.html)
or [OpenDataLab](https://opendatalab.org.cn/DOTA_V1.0).
We recommend using [OpenDataLab](https://opendatalab.org.cn/DOTA_V1.0) to download the dataset, as the folder structure has already been arranged as needed and can be directly extracted without the need to adjust the folder structure.
Please unzip the file and place it in the following structure.
```none
${DATA_ROOT}
├── train
│ ├── images
│ │ ├── P0000.png
│ │ ├── ...
│ ├── labelTxt-v1.0
│ │ ├── labelTxt
│ │ │ ├── P0000.txt
│ │ │ ├── ...
│ │ ├── trainset_reclabelTxt
│ │ │ ├── P0000.txt
│ │ │ ├── ...
├── val
│ ├── images
│ │ ├── P0003.png
│ │ ├── ...
│ ├── labelTxt-v1.0
│ │ ├── labelTxt
│ │ │ ├── P0003.txt
│ │ │ ├── ...
│ │ ├── valset_reclabelTxt
│ │ │ ├── P0003.txt
│ │ │ ├── ...
├── test
│ ├── images
│ │ ├── P0006.png
│ │ ├── ...
```
The folder ending with reclabelTxt stores the labels for the horizontal boxes and is not used when slicing.
### Split DOTA dataset
Script `tools/dataset_converters/dota/dota_split.py` can split and prepare DOTA dataset.