Skip to content

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.

2 participants