-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clip TTA Augmented Tails #5028
Clip TTA Augmented Tails #5028
Conversation
/rebase |
Experimental TTA update.
0314973
to
aa3347c
Compare
* Clip TTA Augmented Tails Experimental TTA update. * Update yolo.py * Update yolo.py * Update yolo.py * Update yolo.py
@glenn-jocher any explanation on this update? I do not quite get what does
|
also, if you want to separate the scale to large and small, wouldn't it be better to set up the scale to be something like |
@timothylimyl large objects are clipped from large augmentation and vice versa, produced better empirical results in testing. You can disable by simply commenting the line. Scaling up a low-res image is inferior to scaling down a high-res image. If you find any improvements to our TTA though please feel free to submit a PR. |
@glenn-jocher
Thanks a lot :) |
@gavin-trendii The
This process is similar for small objects with adjustments for the indices. This helps to improve inference by filtering out redundant predictions. Let me know if you have further questions! |
Experimental TTA update for a new idea I came up with.
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Enhanced YOLOv5 augmented inference by incorporating augmented tail clipping.
π Key Changes
_clip_augmented
to the YOLOv5 model code._forward_augment
function to call_clip_augmented
, effectively clipping the augmented tails after predictions are made.π― Purpose & Impact
π€: Please note that these changes are primarily relevant to users leveraging data augmentation techniques during inference with YOLOv5. Regular users without such augmentation should not be affected.