braun-steven / DAFNe

Code for our paper "DAFNe: A One-Stage Anchor-Free Deep Model for Oriented Object Detection".
MIT License
60 stars 12 forks source link

How to prepare dataset #2

Closed NjustWrunning closed 2 years ago

NjustWrunning commented 2 years ago

I download the DOTA v1.5 ,How should the data preprocessing be done? Whether the image is transmitted to the network is the original image or the cut image. Error: [Errno 2] No such file or directory:'/app/data/dota_1_split/train1024/DOTA1_train1024.json' What is this json file, is it automatically generated in your code or I need to write code to generate this json file

braun-steven commented 2 years ago

Hey, the DOTA dataset first needs to be prepared (split into image patches) which includes the automatic generation of the mentioned JSON file. This functionality is provided by the official DOTA_devkit. To make things easier, I've added a tools/prepare_dota directory with instructions and a custom script on how to prepare the datasets (1.0/1.5).

Let me know if this helps or you run into any issues.