facebookresearch / detr

End-to-End Object Detection with Transformers
Apache License 2.0
13.08k stars 2.37k forks source link

box_cxcywh_to_xyxy #614

Open nothing7744 opened 7 months ago

nothing7744 commented 7 months ago

❓ How to do something using DETR

the output box is xywh,but the target is xyxy,when you calculate iou,why do you use cost_giou = -generalized_box_iou(box_cxcywh_to_xyxy(out_bbox), box_cxcywh_to_xyxy(tgt_bbox)), it really confuses me。