Commit Graph

2880 Commits (c568972d597ee2fa14525a739d8acb284fc19c87)
 

Author SHA1 Message Date
Paula Derrenger c568972d59
Standardize license headers in Python files (#13490)
* Refactor code for speed and clarity

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

---------

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2025-01-15 15:31:19 +01:00
Mohammed Yasin 6420a1db87
Fix TFLite Segment inference (#13488)
* Fix TFLite Segment inference

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

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2025-01-12 19:05:20 +01:00
Glenn Jocher 86fd1ab270
Apply `ruff==0.9.0` formatting (#13486)
* Refactor code for speed and clarity

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

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2025-01-10 01:42:04 +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
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
Glenn Jocher c07b9a8b8c
Apply Ruff Docstring reformat (#13278)
* Apply Ruff Docstring reformat

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

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

* Update export.py

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>
Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
2024-08-25 05:45:33 +08:00
Harsh Dhamecha 41b5f45096
Provide option for saving box coordinates in Pascal-VOC format. (#13272)
* Provide option for saaving box coordinates in Pascal-VOC format.
- Added save-format argument for saving box coordinates in Pascal-VOC format (Xmin, Ymin, Xmax, Ymax) when save_txt is True, 0 for YOLO and 1 for Pascal-VOC, By default - 0

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

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-08-25 05:40:38 +08:00
Glenn Jocher 2070b30399
Remove Hindi links (#13270)
* Remove Hindi links

* Update tutorial.ipynb

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-20 16:47:13 +08:00
dependabot[bot] 7593ee5618
Bump contributor-assistant/github-action from 2.4.0 to 2.5.1 in /.github/workflows (#13266)
* Bump contributor-assistant/github-action in /.github/workflows

Bumps [contributor-assistant/github-action](https://github.com/contributor-assistant/github-action) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/contributor-assistant/github-action/releases)
- [Commits](https://github.com/contributor-assistant/github-action/compare/v2.4.0...v2.5.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>

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
2024-08-20 16:37:04 +08:00
Glenn Jocher b86f316eaf
Ultralytics Code Refactor https://ultralytics.com/actions (#13268)
* Refactor code for speed and clarity

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

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-08-20 05:02:37 +08:00
Glenn Jocher 5eca7b9cec
YOLO Vision 2024 updates https://ultralytics.com/events/yolovision (#13261)
* Refactor code for speed and clarity

* Update README.md

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-08-15 04:22:18 +08:00
Ultralytics Assistant 6f3e69d92f
Ultralytics Actions JSON, CSS and autolabel support (#13260)
* Update Ultralytics Actions

* 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-08-15 02:57:35 +08:00
Kayzwer 19ce90290c
Replace ONNXSim with ONNXSlim (#13236)
Signed-off-by: Kayzwer <68285002+Kayzwer@users.noreply.github.com>
2024-08-11 16:31:53 +08:00
Ryan Hirasaki 6096750fcc
Update CoreML exports to support newer *.mlpackage outputs (#13222)
* Implement and default mlpackage generation for CoreML model exports

Signed-off-by: Ryan Hirasaki <ryanhirasaki@gmail.com>

* Provide command line argument to export as *.mlmodel instead of *.mlpackage for CoreML

Signed-off-by: Ryan Hirasaki <ryanhirasaki@gmail.com>

* Remove macOS check for CoreML quantization

Requirements for macOS during quantization was removed from coremltools 6.0

Signed-off-by: Ryan Hirasaki <ryanhirasaki@gmail.com>

* Undo removal of warning catching

Signed-off-by: Ryan Hirasaki <ryanhirasaki@gmail.com>

* Change file extension references from mlmodel to mlpackage

Signed-off-by: Ryan Hirasaki <ryanhirasaki@gmail.com>

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

---------

Signed-off-by: Ryan Hirasaki <ryanhirasaki@gmail.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
2024-07-29 02:09:57 +02:00
Glenn Jocher dcf1242558
[Snyk] Security upgrade setuptools from 40.5.0 to 70.0.0 (#13223)
fix: requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-7448482

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-07-29 02:08:29 +02:00
Sangbum Daniel Choi 6deb2d75cb
Remove deprecated `map_location` in export.py (#13217)
Signed-off-by: Sangbum Daniel Choi <34004152+SangbumChoi@users.noreply.github.com>
2024-07-25 14:02:17 +02:00
Glenn Jocher d6112173f5
Update links.yml (#13206)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
2024-07-23 09:39:55 +02:00