Open nothing7744 opened 6 months ago
This one really confuses me a lot, so I'd love for someone to answer this question.
I've actually posted this question before but it wasn't answered
Still no answer to my question.
Still no answer to my question today.
hahaha you are so cute
This is handled by the transformation/augmentation pipeline, there is a function box_xyxy_to_cxcywh
(in utils/box_ops
) that does this, it's called by the Normalize
function when the data are transformed before being passed to the model.
Similarly, in the DETR implementation in HuggingFace (which is somewhat copied from here), there is an additional step in the processor
that calls normalize_annotation
Instructions To Reproduce the 🐛 Bug: