jbwang1997 / OBBDetection

OBBDetection is an oriented object detection library, which is based on MMdetection.
Apache License 2.0
537 stars 113 forks source link

How to parse the results.pkl to the format needed for DOTA evaluation #103

Open Boomm opened 2 years ago

Boomm commented 2 years ago

请问如何得到像AerialDetection中.txt格式的检测结果,用于提交到DOTA evaluation服务器上 https://captain-whu.github.io/DOTA/evaluation.html 谢谢

jbwang1997 commented 2 years ago

在test的时候 后面增加 --format-only --options save_dir=[path] 在path上就可以直接生成DOTA evaluation的zip文件

lpf-dlmu commented 2 years ago

我写的是这行命令,可是没有生成DOTA的evluation的zip文件。是我写的方式有误吗?python tools/test.py config/home/lenovo/lpf/AOPG-master/configs/obb/aopg/aopg_r50_fpn_1x_ms_rr_dota10.py checkpoint/home/lenovo/lpf/AOPG-master/work-dir/aopg_eca_r50_fpn_1x_ms_rr_dota10/epoch_12.pth --format-only --options save_dir=[/home/lenovo/lpf/AOPG-master/tests_out/test1]