Skip to content
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

modify default value of stride to 64 in the function letterbox #13149

Closed
wants to merge 1 commit into from

Conversation

TommeyChang
Copy link

@TommeyChang TommeyChang commented Jun 29, 2024

I have read the CLA Document and I sign the CLA

When the default value of stride is 32, it confronts an error when the width or height of the image is resized to 864.
I fix the bug from setting the stride to 64. Thus, I suggest to change the default value.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Change stride value in the letterbox function in augmentation utilities.

📊 Key Changes

  • Modified the letterbox function's stride parameter from 32 to 64.

🎯 Purpose & Impact

  • Purpose: Adjust the resizing and padding functionality to accommodate different stride requirements.
  • Impact: This change could lead to faster processing times and better performance for models optimized with a stride of 64, potentially improving both training and inference speeds for users. 🚀

Copy link
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant