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

Add dilated conv support #9347

Merged
merged 5 commits into from
Sep 9, 2022
Merged

Conversation

YellowAndGreen
Copy link
Contributor

@YellowAndGreen YellowAndGreen commented Sep 9, 2022

  1. Add dilated property in basic conv
  2. A few changes to enable fuse_conv_and_bn and autopad function to work for dilated convolution

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improvement to convolution operations with added dilation support.

πŸ“Š Key Changes

  • autopad method now supports dilation, ensuring padding calculations consider it.
  • Conv class constructor now includes dilation parameter.
  • Added dilation to the attributes of fused convolutions in fuse_conv_and_bn.

🎯 Purpose & Impact

  • πŸ”§ Enhances the convolution layers by allowing dilation, improving the capability to control the reception field and feature resolution.
  • πŸš€ Potentially improves model performance for tasks requiring dilated convolutions, broadening YOLOv5 applicability.
  • πŸ’‘ Enables users to utilize dilated convolutions without significant changes to their existing codebase.

@YellowAndGreen YellowAndGreen changed the title Added dilated conv support Add dilated conv support Sep 9, 2022
@glenn-jocher glenn-jocher merged commit 8aa196c into ultralytics:master Sep 9, 2022
@glenn-jocher
Copy link
Member

@YellowAndGreen PR is merged. Thank you for your contributions to YOLOv5 πŸš€ and Vision AI ⭐

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

2 participants