open-mmlab / mmrotate

OpenMMLab Rotated Object Detection Toolbox and Benchmark
https://mmrotate.readthedocs.io/en/latest/
Apache License 2.0
1.84k stars 542 forks source link

[Docs] Questions about the use of KFIOU #1070

Open huahua454545 opened 3 days ago

huahua454545 commented 3 days ago

Branch

master branch https://mmrotate.readthedocs.io/en/latest/

📚 The doc issue

Both pred_decode and targets_decode use the decode function of the DeltaXYWHAOBBoxCoder class in delta_xywha_rbbox_coder.py. The bboxes,pred_bboxes, I don't quite understand the two parameters. If my pred_decode is to be decoded using this function, are my bboxes the same as pred_bboxes? Could you please help me explain what are bboxes,pred_bboxes, thank you

Suggest a potential alternative/fix

No response

huahua454545 commented 3 days ago

I have read that the function of decode is to convert delta xywha into xywha. The target_bbox and pre_bbox used in my calculation of loss are xywha. Is decode unnecessary? This part is not very understanding, hope to answer