lyuwenyu / RT-DETR

[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥
Apache License 2.0
2.61k stars 303 forks source link

Something wrong when evaluate #487

Open jy0x4f opened 1 week ago

jy0x4f commented 1 week ago

image

rtdetr_pytorch/src/solver/det_engine.py in line 136, When my training data is 1280x720 and the data is preprocessed to 640x640, I found that when calculating the metric, this code returns the predicted bbox from the original data size (1280x720), but the bbox in the label corresponds to the preprocessed 640x640 sized value, which is then sent directly to the calculation of the mAP, where do I process out the Problems?

lyuwenyu commented 1 week ago
image

This target has not been used to compute metric, just for extracting image_id info.