-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
Lcy yolov5 #11386
Closed
Closed
Lcy yolov5 #11386
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Hello @cityrainflow, thank you for submitting a YOLOv5 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is up-to-date with
ultralytics/yolov5
master
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge master
locally. - ✅ Verify all YOLOv5 Continuous Integration (CI) checks are passing.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee
Accidentally submitted, please ignore |
for more information, see https://pre-commit.ci
@cityrainflow no problem, let me know if you have any questions or need any assistance. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Generated by Copilot at f115ef9
Summary
🚀🧠📝
This pull request enhances the object detection functionality and performance of YOLOv5 by adding support for ODConv-based backbone models, modifying
detect.py
andyolo.py
to handle different feature maps, changing the dataset path inVisDrone.yaml
, adding a demo script and a custom model definition, and improving the stream loader and the comments intrain.py
andexperimental.py
.Walkthrough
odconv.py
(link)od_resnet.py
andod_mobilenetv2.py
(link, link)detect.py
, to handle multiple video sources or streams (link, link)detect.py
,yolo.py
, andtrain.py
, to explain their meaning and usage (link, link, link, link, link, link, link)torch.hub.load
function to load a pretrained YOLOv5 model and run inference on an image indemo.py
(link)data/VisDrone.yaml
, to avoid potential errors when running the code from different directories (link)🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Integration of ODConv architecture and MobileNetV2 backbone into YOLOv5.
📊 Key Changes
yolov5-custom.yaml
to utilize the ODConv and MobileNetV2 backbone.models/yolo.py
to adapt to the new ODConv structures and backbones.od_mobilenetv2.py
,od_resnet.py
, andodconv.py
.odconv1x_mobilenetv2_050.pth.tar
andodconv4x_mobilenetv2_050.pth.tar
.train.py
script and related files to support the new changes.🎯 Purpose & Impact