Spaces:
Running
Contributing to YOLOv5 π
We love your input! We want to make contributing to YOLOv5 as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing a new feature
- Becoming a maintainer
YOLOv5 works so well due to our combined community effort, and for every small improvement you contribute you will be helping push the frontiers of what's possible in AI π!
Submitting a Pull Request (PR) π οΈ
Submitting a PR is easy! This example shows how to submit a PR for updating requirements.txt
in 4 steps:
1. Select File to Update
Select requirements.txt
to update by clicking on it in GitHub.
2. Click 'Edit this file'
The button is in the top-right corner.
3. Make Changes
Change the matplotlib
version from 3.2.2
to 3.3
.
4. Preview Changes and Submit PR
Click on the Preview changes tab to verify your updates. At the bottom of the screen select 'Create a new branch for this commit', assign your branch a descriptive name such as fix/matplotlib_version
and click the green Propose changes button. All done, your PR is now submitted to YOLOv5 for review and approval π!
PR recommendations
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
Submitting a Bug Report π
If you spot a problem with YOLOv5 please submit a Bug Report!
For us to start investigating a possible problem we need to be able to reproduce it ourselves first. We've created a few short guidelines below to help users provide what we need to get started.
When asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem. This is referred to by community members as creating a minimum reproducible example. Your code that reproduces the problem should be:
- β Minimal β Use as little code as possible that still produces the same problem
- β Complete β Provide all parts someone else needs to reproduce your problem in the question itself
- β Reproducible β Test the code you're about to provide to make sure it reproduces the problem
In addition to the above requirements, for Ultralytics to provide assistance your code should be:
- β
Current β Verify that your code is up-to-date with the current GitHub master, and if necessary
git pull
orgit clone
a new copy to ensure your problem has not already been resolved by previous commits. - β Unmodified β Your problem must be reproducible without any modifications to the codebase in this repository. Ultralytics does not provide support for custom code β οΈ.
If you believe your problem meets all of the above criteria, please close this issue and raise a new one using the π Bug Report template and provide a minimum reproducible example to help us better understand and diagnose your problem.
License
By contributing, you agree that your contributions will be licensed under the AGPL-3.0 license