From cd2273e5a3ce161117e5ace9cb1e4036a6fb2b2b Mon Sep 17 00:00:00 2001 From: xqh5201314 <106581654+xqh5201314@users.noreply.github.com> Date: Mon, 19 Jun 2023 10:58:46 +0800 Subject: [PATCH] Add files via upload --- CITATION.cff | 14 + CONTRIBUTING.md | 93 +++++ LICENSE | 682 +++++++++++++++++++++++++++++++++++-- README.md | 496 ++++++++++++++++++++++++++- README.zh-CN.md | 490 +++++++++++++++++++++++++++ benchmarks.py | 174 ++++++++++ detect.py | 261 ++++++++++++++ export.py | 863 +++++++++++++++++++++++++++++++++++++++++++++++ hubconf.py | 169 ++++++++++ requirements.txt | 49 +++ setup.cfg | 54 +++ train.py | 647 +++++++++++++++++++++++++++++++++++ tutorial.ipynb | 605 +++++++++++++++++++++++++++++++++ val.py | 409 ++++++++++++++++++++++ 14 files changed, 4984 insertions(+), 22 deletions(-) create mode 100644 CITATION.cff create mode 100644 CONTRIBUTING.md create mode 100644 README.zh-CN.md create mode 100644 benchmarks.py create mode 100644 detect.py create mode 100644 export.py create mode 100644 hubconf.py create mode 100644 requirements.txt create mode 100644 setup.cfg create mode 100644 train.py create mode 100644 tutorial.ipynb create mode 100644 val.py diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..1fba0b8 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,14 @@ +cff-version: 1.2.0 +preferred-citation: + type: software + message: If you use YOLOv5, please cite it as below. + authors: + - family-names: Jocher + given-names: Glenn + orcid: "https://orcid.org/0000-0001-5950-6979" + title: "YOLOv5 by Ultralytics" + version: 7.0 + doi: 10.5281/zenodo.3908559 + date-released: 2020-5-29 + license: AGPL-3.0 + url: "https://github.com/ultralytics/yolov5" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..2e64dd4 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,93 @@ +## 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 running `git pull` and `git 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](https://docs.ultralytics.com/help/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](https://ultralytics.com/) to provide assistance your code +should be: + +- â **Current** â Verify that your code is up-to-date with the current + GitHub [master](https://github.com/ultralytics/yolov5/tree/master), and if necessary `git pull` or `git 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](https://ultralytics.com/) 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](https://github.com/ultralytics/yolov5/issues/new/choose) and provide +a [minimum reproducible example](https://docs.ultralytics.com/help/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](https://choosealicense.com/licenses/agpl-3.0/) diff --git a/LICENSE b/LICENSE index 4158ffe..1468d07 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,661 @@ -MIT License - -Copyright (c) 2023 xqh5201314 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc.+ + +
+ +[English](README.md) | [įŽäŊä¸æ](README.zh-CN.md) ++ + +
+ +[čąæ](README.md)|[įŽäŊä¸æ](README.zh-CN.md)