SIGN IN SIGN UP

Skip resizing if unnecessary (#47)

* Skip resizing if unnecessary

Optimizes the image preprocessing function by skipping unnecessary resizing when the input image already matches the model's required dimensions in RTMdet, YOLOX and RTMo. Normalization is still applied. (Also fixed the returns in the docstring)

* Doesn't compute bbox if not used
L
Laizo committed
faf643815f3df479d4ca7c0a85dd77cbdd6dbb60
Parent: 93f77ef
Committed by GitHub <noreply@github.com> on 11/6/2025, 4:00:46 AM