Commit Graph
2636 Commits
Author SHA1 Message Date
Shayan Mousavinia c35d9aedec Update hyp.no-augmentation.yaml (#11420)
remove one zero in "hsv_s: 00"

Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
2023-04-23 18:04:17 +02:00
Glenn Jocherandsnyk-bot 3e14883825 [Snyk] Security upgrade ubuntu from rolling to 22.10 (#11389)
* fix: utils/docker/Dockerfile-cpu to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UBUNTU2210-GNUTLS28-3319585
- https://snyk.io/vuln/SNYK-UBUNTU2210-SYSTEMD-3148007
- https://snyk.io/vuln/SNYK-UBUNTU2210-SYSTEMD-3148007
- https://snyk.io/vuln/SNYK-UBUNTU2210-SYSTEMD-3180315
- https://snyk.io/vuln/SNYK-UBUNTU2210-TAR-3261142

* Update Dockerfile-arm64

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-04-23 01:49:44 +02:00
Glenn Jocherandpre-commit-ci[bot] be61a64c47 Update links to https://docs.ultralytics.com (#11412)
* Update links

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-21 23:47:29 +02:00
Glenn Jocher ea191def0a Update greetings.yml (#11411)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-21 22:11:03 +02:00
Glenn Jocherandpre-commit-ci[bot] fb1e746b8a Docs update for new YOLOv5 URLs (#11409)
* Update YOLOv5 Docs Tutorials

* Update YOLOv5 Docs Tutorials

* Update actions

* Update actions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update actions

* Update actions

* Update actions

* Update actions

* Update actions

* Update actions

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-21 13:50:28 +02:00
Paula DerrengerandGlenn Jocher aa7c45c2cf Update Ultralytics HUB Copy with Mention of YOLOv8 (#11375)
Signed-off-by: Paula Derrenger <107626595+pderrenger@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-18 12:22:14 +02:00
abuod0 4408d02e7a Fixing onnx and Tensorflow versionsm for Jetson (#11377)
Signed-off-by: abuod0 <97100904+abuod0@users.noreply.github.com>
2023-04-18 12:21:35 +02:00
Glenn Jocher 94714fe6ad Update requirements.txt to comment tensorboard (#11362)
* Update requirements.txt comment tensorboard

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Make tensorboard optional

* Update __init__.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-15 00:51:17 +02:00
Glenn Jocherandpre-commit-ci[bot] a66fa8314c Add NMS to CoreML exports (#11361)
* Add NMS to CoreML exports

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-14 18:11:15 +02:00
Glenn Jocher 60e29e2d86 Update check_requirements() (#11360)
Update general.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-14 14:47:07 +02:00
Glenn Jocher 2118e3b88e Update check_requirements.py (#11358)
Update general.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-14 14:37:02 +02:00
Glenn Jocher 34cf749958 Update LICENSE to AGPL-3.0 (#11359)
* Update LICENSE to AGPL-3.0

This pull request updates the license of the YOLOv5 project from GNU General Public License v3.0 (GPL-3.0) to GNU Affero General Public License v3.0 (AGPL-3.0).

We at Ultralytics have decided to make this change in order to better protect our intellectual property and ensure that any modifications made to the YOLOv5 source code will be shared back with the community when used over a network.

AGPL-3.0 is very similar to GPL-3.0, but with an additional clause to address the use of software over a network. This change ensures that if someone modifies YOLOv5 and provides it as a service over a network (e.g., through a web application or API), they must also make the source code of their modified version available to users of the service.

This update includes the following changes:
- Replace the `LICENSE` file with the AGPL-3.0 license text
- Update the license reference in the `README.md` file
- Update the license headers in source code files

We believe that this change will promote a more collaborative environment and help drive further innovation within the YOLOv5 community.

Please review the changes and let us know if you have any questions or concerns.


Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update headers to AGPL-3.0

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-14 14:36:16 +02:00
Glenn Jocherandpre-commit-ci[bot] 1db95338cf Update PULL_REQUEST_TEMPLATE.md (#11323)
* Update PULL_REQUEST_TEMPLATE.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update PULL_REQUEST_TEMPLATE.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-09 18:15:53 +02:00
Glenn Jocherandpre-commit-ci[bot] f7c656278c Update general.py (#11322)
* Update general.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-09 17:51:25 +02:00
a190b3c16b Update requirements.txt (#11294)
* Update requirements.txt

Signed-off-by: whx-s <127172288+whx-s@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: whx-s <127172288+whx-s@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-09 16:34:18 +02:00
Glenn Jocher 20a7368373 Created using Colaboratory 2023-04-09 16:18:24 +02:00
Glenn Jocher 71244aed2c Update config.yml (#11321)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-09 13:31:57 +02:00
Glenn Jocher 9dd0ad30c0 Update issue YAMLs (#11318)
* Update issue YAMLs

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update config.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-04-08 18:07:38 +02:00
pre-commit-ci[bot] 23c4923212 [pre-commit.ci] pre-commit suggestions (#11293)
updates:
- [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](https://github.com/codespell-project/codespell/compare/v2.2.2...v2.2.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-04 13:12:53 +02:00
Glenn Jocherandpre-commit-ci[bot] cca5e21995 Update greetings.yml (#11287)
* Update greeting

* Cleanup README

* Created using Colaboratory

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Created using Colaboratory

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-01 13:02:51 +02:00
Grzegorz K a82132c10b Do not monkey-patch cv2 methods for unaware caller (#11210) 2023-03-30 11:39:11 +02:00
Glenn Jocherandpre-commit-ci[bot] 0c8de3fca4 Update YOLOv5 tutorials on docs.ultralytics.com (#11254)
* Update README.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update README.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update README.zh-CN.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-28 02:38:50 +02:00
dependabot[bot] 789551ffd1 Bump actions/stale from 7 to 8 (#11249)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 13:48:32 +02:00
Glenn Jocher b54fd0ac28 FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime (#11246)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-26 20:27:43 +02:00
Glenn Jocher b96f35ce75 Update README.zh-CN.md social icons, add TikTok and remove Facebook (#11227)
Update README.zh-CN.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:39:57 +01:00
Glenn Jocher 52e2fde1b3 Update social icons: add TikTok, remove Facebook (#11226)
Add TikTok, remove Facebook

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:35:13 +01:00
Grzegorz KandGlenn Jocher f095258e0c Sync signature of cv2.imread and cv2.imwrite (#11209)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:34:03 +01:00
imyhxyandGlenn Jocher 81f81d3e97 Fixed randrange warnings in Python>=3.10 (#11161)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:30:10 +01:00
6dd17516c8 dataloaders: fix class filtering for segmentation (#11171)
* dataloaders: fix class filtering for segmentation

self.segments[i] and segment[j] are lists so they cannot be indexed with booleans
self.segments is a tuple so it has to be converted into a list first

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:29:11 +01:00
imyhxyandGlenn Jocher d223460f3a Fixed creation of empty directories in path was entered mistaken (#11174)
FFixed creation of empty directories in path was entered mistaken

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-23 20:27:46 +01:00
Sheng Hu 78a90c9661 Remove duplicate assignment code (#11178)
Signed-off-by: Sheng Hu <husheng_7@163.com>
2023-03-23 11:29:44 +01:00
Jonas Heinle ef7039ea18 Error in tensor shape of docstring (#11206)
Corrected the tensor shape in the doc string.
The incoming masks are stacked in dim=0 therefore the doc is wrong

Signed-off-by: Jonas Heinle <jonasheinle@googlemail.com>
2023-03-23 11:28:31 +01:00
Glenn Jocher 3e55763d45 Update ci-testing.yml (#11154)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-12 02:10:38 +01:00
Sheng HuandGlenn Jocher 5543b89466 Fix a visualization bug (#11134)
Fix a visualization bug reported here: https://github.com/ultralytics/yolov5/issues/11133

Signed-off-by: Sheng Hu <husheng_7@163.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-09 23:55:02 +01:00
Iker LluviaandGlenn Jocher ea05d5cb6c Correct mutation adding the missing parameters (#11109)
* Correct mutation adding the missing parameters

Correct mutation considering the higher number of segmentation parameters compared to object detection.

Fixes #9730

Signed-off-by: Iker Lluvia <iker.lluvia@tekniker.es>

* Use already defined segmentation keys from segment/metrics.py

---------

Signed-off-by: Iker Lluvia <iker.lluvia@tekniker.es>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-03-09 23:47:53 +01:00
Iker Lluvia 85f6019e5a Rename evolve folder if default project name (#11108)
Save logs to 'runs/evolve-seg' if default project name, 'runs/train-seg'

Signed-off-by: Iker Lluvia <iker.lluvia@tekniker.es>
2023-03-06 22:54:34 +01:00
Glenn Jocher 5c91daeaec Update ci-testing.yml (#11079)
* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-27 19:55:23 -08:00
Glenn Jocher 5ca8e822c8 Update export.py (#11077)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-27 10:55:05 -08:00
Glenn Jocher 3c0a6e664b Security fixes for IPython (#11069)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-25 16:15:07 -08:00
Glenn Jocher 7dee52f94d Update requirements.txt (#11068)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-25 15:58:59 -08:00
Glenn Jocher b005788f36 Update requirements.txt (#11067)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-25 15:15:50 -08:00
Glenn Jocher b8731d855f Update requirements.txt (#11065)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-25 14:16:03 -08:00
Glenn Jocher 6559d8fceb Update ci-testing.yml (#11062)
* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-24 21:34:04 -08:00
Glenn Jocher feca55719b Update "YOLOv5 is out of date" msg (#11061) 2023-02-24 20:09:02 -08:00
imyhxy 4db6757ef9 Fixed access 'names' from a DistributedDataParallel module (#11023) 2023-02-20 11:23:13 +01:00
Glenn Jocherandpre-commit-ci[bot] 7a972e86c4 Update .pre-commit-config.yaml (#11009)
* Update .pre-commit-config.yaml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update __init__.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update .pre-commit-config.yaml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Pre-commit updates

* Pre-commit updates

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-18 01:06:24 +01:00
Glenn Jocherandpre-commit-ci[bot] 34e1bc8ee3 Update downloads.py (#11005)
* Update downloads.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-17 10:53:45 +01:00
Glenn Jocher 226a5e43cb Update ci-testing.yml benchmarks to Python 3.10 (#10997)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-16 20:48:42 +01:00
6d283ec167 [Snyk] Security upgrade werkzeug from 1.0.1 to 2.2.3 (#10995)
* fix: utils/google_app_engine/additional_requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319935
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319936

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2023-02-16 18:08:13 +01:00
Glenn Jocherandpre-commit-ci[bot] 4dd1caaf9a Update README.md (#10992)
* Update README.md

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-16 18:07:55 +01:00