Commit Graph

2892 Commits (98cd6ef15c842a03d3a4e771add05b917d598e42)
 

Author SHA1 Message Date
Bala-Vignesh-Reddy 98cd6ef15c Merge branch 'fix-deprecated-amp' of https://github.com/Bala-Vignesh-Reddy/yolov5 into fix-deprecated-amp 2025-01-08 20:30:55 +05:30
Bala-Vignesh-Reddy 4a8e374ddf resolved the error 2025-01-08 20:30:45 +05:30
UltralyticsAssistant d4c977fb42 Auto-format by https://ultralytics.com 2025-01-08 14:58:28 +00:00
Bala-Vignesh-Reddy 1fbde181d4 updated autocast 2025-01-08 20:27:39 +05:30
Bala-Vignesh-Reddy eb4e51056a updated the autocast 2025-01-08 20:25:38 +05:30
UltralyticsAssistant 5d03fd8cdd Auto-format by https://ultralytics.com 2025-01-07 13:43:43 +00:00
Bala-Vignesh-Reddy a5a8bf375f added a check for autocast 2025-01-07 19:13:25 +05:30
Bala-Vignesh-Reddy 1b82b72ed5 fixed scaler 2025-01-07 18:57:49 +05:30
Glenn Jocher c510954d17
Merge branch 'master' into fix-deprecated-amp 2025-01-06 21:25:24 +01:00
Glenn Jocher 6981c2742a
Ultralytics Refactor https://ultralytics.com/actions (#13484)
Refactor code for speed and clarity

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2025-01-06 21:25:12 +01:00
UltralyticsAssistant ba2a2787aa Auto-format by https://ultralytics.com 2025-01-05 16:00:08 +00:00
Bala-Vignesh-Reddy df838a42dd changed enabled parameter 2025-01-05 21:29:50 +05:30
Bala-Vignesh-Reddy 77180d7087 valid argument fix for gradscaler 2025-01-05 21:07:47 +05:30
Bala-Vignesh-Reddy 5da8d8139a valid argument for GradScaler 2025-01-05 21:02:57 +05:30
UltralyticsAssistant dcb82e2596 Auto-format by https://ultralytics.com 2025-01-05 14:04:52 +00:00
Bala-Vignesh-Reddy 9c4100021a Fix deprecated torch.cuda.amp.autocast usage 2025-01-05 19:25:26 +05:30
Ali Ghanbari f003c3df9e
Update detect.py (Fix save-csv: Ensure header is written to CSV) (#13472)
This commit resolves an issue where the save-csv command did not write the CSV header. The code now correctly saves the header in the CSV file.

Signed-off-by: Ali Ghanbari <alighanbari446@gmail.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2025-01-01 21:46:59 +01:00
Glenn Jocher 915ce21ebc
Update format.yml (#13479)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2025-01-01 15:47:35 +01:00
Glenn Jocher 0797106a98
Update links.yml (#13470)
* Update links.yml

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

* Update links.yml

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

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-12-25 20:44:32 +01:00
Glenn Jocher e62a31b601
Update format.yml (#13451)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-12-07 22:59:35 +01:00
Glenn Jocher 882c35fc43
Delete .github/workflows/codeql-analysis.yml (#13431)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-11-25 11:56:38 +01:00
zzzer 4c904ac7f9
Fix possible image drawing issues (#13426)
* Update plots.py

Fixed non-meaningful labels in the top right (row 1, column 4) plots when batch size is larger than max_subplots.

Signed-off-by: zzzer <48149018+zhixuwei@users.noreply.github.com>

* Update plots.py

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

* Auto-format by https://ultralytics.com/actions

* Simple loop conditions

Simple loop conditions

Signed-off-by: zzzer <48149018+zhixuwei@users.noreply.github.com>

---------

Signed-off-by: zzzer <48149018+zhixuwei@users.noreply.github.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-11-23 16:01:47 +01:00
zzzer 81ac034a86
Fix possible image drawing issues (#13423)
* Update plots.py

Fixed non-meaningful labels in the top right (row 1, column 4) plots when batch size is larger than max_subplots.

Signed-off-by: zzzer <48149018+zhixuwei@users.noreply.github.com>

* Update plots.py

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

* Auto-format by https://ultralytics.com/actions

---------

Signed-off-by: zzzer <48149018+zhixuwei@users.noreply.github.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-11-21 16:33:14 +01:00
Glenn Jocher b968b2d70c
Update ci-testing.yml (#13421)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-11-19 10:54:23 +01:00
dependabot[bot] 7a5722738c
Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 in /.github/workflows (#13417)
Bump slackapi/slack-github-action in /.github/workflows

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.27.0 to 2.0.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.27.0...v2.0.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  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>
2024-11-19 10:51:47 +01:00
imyhxy 1435a8eed6
Add timing cache to accelerate consequent `.engine` export (#13386)
* fix: typos

* feat: enable timing cache for engine export

* Auto-format by https://ultralytics.com/actions

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-11-08 23:24:30 +01:00
Glenn Jocher 3760e0ed93
Fix URL (#13408)
* Fix URL

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

* Update format.yml

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

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-11-08 23:22:04 +01:00
Paula Derrenger 15c40626f5
Use new Ultralytics Retry action (#13407)
Automated merge of Ultralytics Code Refactor
2024-11-08 12:35:15 +01:00
Paula Derrenger 795b741542
Use new Ultralytics Retry action (#13406)
Refactor code for speed and clarity

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-11-08 12:18:52 +01:00
Paula Derrenger d4e4c35181
Fix PyPI downloads links (#13403)
Refactor code for speed and clarity

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-11-07 16:19:24 +01:00
Glenn Jocher 2f74455adc
Update README.md with YOLO11 section (#13374)
* Update README with YOLO11

* Update README with YOLO11

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-10-22 19:22:45 +02:00
Ultralytics Assistant 24ee28010f
Ultralytics Refactor https://ultralytics.com/actions (#13368)
* Refactor code for speed and clarity

* Auto-format by https://ultralytics.com/actions
2024-10-19 17:46:11 +02:00
Glenn Jocher bcd88eaf59
Update README.md (#13366)
* 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>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-10-17 19:32:33 +02:00
Glenn Jocher 79b7336f0d
Update Integrations table (#13365)
* Update Integrations table

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

* 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>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-10-17 19:14:18 +02:00
imyhxy 94a6245617
Fix bug when enable `--quad` training option (#13355)
* fix: quad training

* fix: quad training in segmentation
2024-10-15 18:22:02 +02:00
Ultralytics Assistant abdfbd68d1
Ultralytics Code Refactor https://ultralytics.com/actions (#13361)
Refactor code for speed and clarity
2024-10-15 16:03:37 +02:00
Glenn Jocher a355524157
Update codeql-analysis.yml (#13353)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-10-11 15:07:07 +02:00
Ultralytics Assistant 6629839d5f
Ultralytics Code Refactor https://ultralytics.com/actions (#13345)
Refactor code for speed and clarity
2024-10-05 14:27:45 +02:00
Ultralytics Assistant ce15409721
Ultralytics Code Refactor https://ultralytics.com/actions (#13344)
Refactor code for speed and clarity
2024-10-05 14:10:12 +02:00
dependabot[bot] 907bef2f63
Bump contributor-assistant/github-action from 2.5.1 to 2.6.1 in /.github/workflows (#13337)
Bump contributor-assistant/github-action in /.github/workflows

Bumps [contributor-assistant/github-action](https://github.com/contributor-assistant/github-action) from 2.5.1 to 2.6.1.
- [Release notes](https://github.com/contributor-assistant/github-action/releases)
- [Commits](https://github.com/contributor-assistant/github-action/compare/v2.5.1...v2.6.1)

---
updated-dependencies:
- dependency-name: contributor-assistant/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 12:52:36 +02:00
Glenn Jocher b163ff8d25
[Snyk] Fix for 17 vulnerabilities (#13323)
* fix: requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-FONTTOOLS-6133203
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-5918878
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6182918
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6219984
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6219986
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6514866
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-6928867
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-7448482
- https://snyk.io/vuln/SNYK-PYTHON-TORCH-6619806
- https://snyk.io/vuln/SNYK-PYTHON-TORCH-6649934
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
- https://snyk.io/vuln/SNYK-PYTHON-WHEEL-3180413

* Update requirements.txt

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>
2024-09-20 14:29:10 +02:00
Glenn Jocher c5bb4087aa
[Snyk] Fix for 2 vulnerabilities (#13322)
* fix: requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TQDM-6807582
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899

* Update requirements.txt

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>
2024-09-20 14:28:29 +02:00
Ultralytics Assistant f7322921ac
Delete .github/workflows/greetings.yml (#13309)
* Delete greetings.yml

* Update format.yml

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

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-09-12 20:05:58 +02:00
Ultralytics Assistant 12b577c8d3
Ultralytics Code Refactor https://ultralytics.com/actions (#13301)
* Refactor code for speed and clarity

* Auto-format by https://ultralytics.com/actions

* 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>

* Auto-format by https://ultralytics.com/actions

* Update README.md

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

* Auto-format by https://ultralytics.com/actions

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-09-05 21:53:45 +02:00
dependabot[bot] 4d39325f8a
Bump slackapi/slack-github-action from 1.26.0 to 1.27.0 in /.github/workflows (#13290)
Bump slackapi/slack-github-action in /.github/workflows

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 10:39:26 +02:00
Glenn Jocher f44db01005
PyUpgrade 3.8 updates (#13289)
* PyUpgrade 3.8 updates

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

* Auto-format by https://ultralytics.com/actions

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-09-01 17:35:08 +02:00
Glenn Jocher e8a30cf820
Fix YOLOv8 links (#13285)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-08-28 12:31:50 +02:00
Glenn Jocher c5ffbbf1c3
Add https://www.reddit.com/r/Ultralytics/ badge (#13284)
* Refactor code for speed and clarity

* Update README.zh-CN.md

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

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-08-26 15:46:32 +02:00
Glenn Jocher b40781b3e3
Update README.md (#13283)
* Update README.md

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

* Auto-format by https://ultralytics.com/actions

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-08-26 02:37:25 +02:00
Glenn Jocher 427cfc4f73
Update merge-main-into-prs.yml (#13282)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2024-08-26 01:32:35 +08:00