From 3ec95f9e3dfc7d563d037440237a4a69d9984fd4 Mon Sep 17 00:00:00 2001 From: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Date: Sat, 8 Jun 2024 22:29:29 +0200 Subject: [PATCH] Update header line in Python files (#13072) * Add license line to .github/ISSUE_TEMPLATE/bug-report.yml * Add license line to .github/ISSUE_TEMPLATE/config.yml * Add license line to .github/ISSUE_TEMPLATE/feature-request.yml * Add license line to .github/ISSUE_TEMPLATE/question.yml * Add license line to .github/dependabot.yml * Add license line to .github/workflows/ci-testing.yml * Add license line to .github/workflows/cla.yml * Add license line to .github/workflows/codeql-analysis.yml * Add license line to .github/workflows/docker.yml * Add license line to .github/workflows/format.yml * Add license line to .github/workflows/greetings.yml * Add license line to .github/workflows/links.yml * Add license line to .github/workflows/merge-main-into-prs.yml * Add license line to .github/workflows/stale.yml * Add license line to benchmarks.py * Add license line to classify/predict.py * Add license line to classify/train.py * Add license line to classify/val.py * Add license line to data/Argoverse.yaml * Add license line to data/GlobalWheat2020.yaml * Add license line to data/ImageNet.yaml * Add license line to data/ImageNet10.yaml * Add license line to data/ImageNet100.yaml * Add license line to data/ImageNet1000.yaml * Add license line to data/Objects365.yaml * Add license line to data/SKU-110K.yaml * Add license line to data/VOC.yaml * Add license line to data/VisDrone.yaml * Add license line to data/coco.yaml * Add license line to data/coco128-seg.yaml * Add license line to data/coco128.yaml * Add license line to data/hyps/hyp.Objects365.yaml * Add license line to data/hyps/hyp.VOC.yaml * Add license line to data/hyps/hyp.no-augmentation.yaml * Add license line to data/hyps/hyp.scratch-high.yaml * Add license line to data/hyps/hyp.scratch-low.yaml * Add license line to data/hyps/hyp.scratch-med.yaml * Add license line to data/xView.yaml * Add license line to detect.py * Add license line to export.py * Add license line to hubconf.py * Add license line to models/common.py * Add license line to models/experimental.py * Add license line to models/hub/anchors.yaml * Add license line to models/hub/yolov3-spp.yaml * Add license line to models/hub/yolov3-tiny.yaml * Add license line to models/hub/yolov3.yaml * Add license line to models/hub/yolov5-bifpn.yaml * Add license line to models/hub/yolov5-fpn.yaml * Add license line to models/hub/yolov5-p2.yaml * Add license line to models/hub/yolov5-p34.yaml * Add license line to models/hub/yolov5-p6.yaml * Add license line to models/hub/yolov5-p7.yaml * Add license line to models/hub/yolov5-panet.yaml * Add license line to models/hub/yolov5l6.yaml * Add license line to models/hub/yolov5m6.yaml * Add license line to models/hub/yolov5n6.yaml * Add license line to models/hub/yolov5s-LeakyReLU.yaml * Add license line to models/hub/yolov5s-ghost.yaml * Add license line to models/hub/yolov5s-transformer.yaml * Add license line to models/hub/yolov5s6.yaml * Add license line to models/hub/yolov5x6.yaml * Add license line to models/segment/yolov5l-seg.yaml * Add license line to models/segment/yolov5m-seg.yaml * Add license line to models/segment/yolov5n-seg.yaml * Add license line to models/segment/yolov5s-seg.yaml * Add license line to models/segment/yolov5x-seg.yaml * Add license line to models/tf.py * Add license line to models/yolo.py * Add license line to models/yolov5l.yaml * Add license line to models/yolov5m.yaml * Add license line to models/yolov5n.yaml * Add license line to models/yolov5s.yaml * Add license line to models/yolov5x.yaml * Add license line to pyproject.toml * Add license line to segment/predict.py * Add license line to segment/train.py * Add license line to segment/val.py * Add license line to train.py * Add license line to utils/__init__.py * Add license line to utils/activations.py * Add license line to utils/augmentations.py * Add license line to utils/autoanchor.py * Add license line to utils/autobatch.py * Add license line to utils/aws/resume.py * Add license line to utils/callbacks.py * Add license line to utils/dataloaders.py * Add license line to utils/downloads.py * Add license line to utils/flask_rest_api/example_request.py * Add license line to utils/flask_rest_api/restapi.py * Add license line to utils/general.py * Add license line to utils/google_app_engine/app.yaml * Add license line to utils/loggers/__init__.py * Add license line to utils/loggers/clearml/clearml_utils.py * Add license line to utils/loggers/clearml/hpo.py * Add license line to utils/loggers/comet/__init__.py * Add license line to utils/loggers/comet/comet_utils.py * Add license line to utils/loggers/comet/hpo.py * Add license line to utils/loggers/wandb/wandb_utils.py * Add license line to utils/loss.py * Add license line to utils/metrics.py * Add license line to utils/plots.py * Add license line to utils/segment/augmentations.py * Add license line to utils/segment/dataloaders.py * Add license line to utils/segment/general.py * Add license line to utils/segment/loss.py * Add license line to utils/segment/metrics.py * Add license line to utils/segment/plots.py * Add license line to utils/torch_utils.py * Add license line to utils/triton.py * Add license line to val.py * Auto-format by https://ultralytics.com/actions * Update ImageNet1000.yaml Signed-off-by: Glenn Jocher * Auto-format by https://ultralytics.com/actions --------- Signed-off-by: Glenn Jocher Co-authored-by: Glenn Jocher --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 ++ .github/ISSUE_TEMPLATE/config.yml | 2 ++ .github/ISSUE_TEMPLATE/feature-request.yml | 2 ++ .github/ISSUE_TEMPLATE/question.yml | 2 ++ .github/dependabot.yml | 2 +- .github/workflows/ci-testing.yml | 2 +- .github/workflows/cla.yml | 2 +- .github/workflows/codeql-analysis.yml | 1 + .github/workflows/docker.yml | 2 +- .github/workflows/format.yml | 2 +- .github/workflows/greetings.yml | 2 +- .github/workflows/links.yml | 2 +- .github/workflows/merge-main-into-prs.yml | 2 +- .github/workflows/stale.yml | 2 +- benchmarks.py | 2 +- classify/predict.py | 2 +- classify/train.py | 2 +- classify/val.py | 2 +- data/Argoverse.yaml | 2 +- data/GlobalWheat2020.yaml | 2 +- data/ImageNet.yaml | 2 +- data/ImageNet10.yaml | 2 +- data/ImageNet100.yaml | 2 +- data/ImageNet1000.yaml | 2 +- data/Objects365.yaml | 2 +- data/SKU-110K.yaml | 2 +- data/VOC.yaml | 2 +- data/VisDrone.yaml | 2 +- data/coco.yaml | 2 +- data/coco128-seg.yaml | 2 +- data/coco128.yaml | 2 +- data/hyps/hyp.Objects365.yaml | 2 +- data/hyps/hyp.VOC.yaml | 2 +- data/hyps/hyp.no-augmentation.yaml | 2 +- data/hyps/hyp.scratch-high.yaml | 2 +- data/hyps/hyp.scratch-low.yaml | 2 +- data/hyps/hyp.scratch-med.yaml | 2 +- data/xView.yaml | 2 +- detect.py | 2 +- export.py | 2 +- hubconf.py | 2 +- models/common.py | 2 +- models/experimental.py | 2 +- models/hub/anchors.yaml | 2 +- models/hub/yolov3-spp.yaml | 2 +- models/hub/yolov3-tiny.yaml | 2 +- models/hub/yolov3.yaml | 2 +- models/hub/yolov5-bifpn.yaml | 2 +- models/hub/yolov5-fpn.yaml | 2 +- models/hub/yolov5-p2.yaml | 2 +- models/hub/yolov5-p34.yaml | 2 +- models/hub/yolov5-p6.yaml | 2 +- models/hub/yolov5-p7.yaml | 2 +- models/hub/yolov5-panet.yaml | 2 +- models/hub/yolov5l6.yaml | 2 +- models/hub/yolov5m6.yaml | 2 +- models/hub/yolov5n6.yaml | 2 +- models/hub/yolov5s-LeakyReLU.yaml | 2 +- models/hub/yolov5s-ghost.yaml | 2 +- models/hub/yolov5s-transformer.yaml | 2 +- models/hub/yolov5s6.yaml | 2 +- models/hub/yolov5x6.yaml | 2 +- models/segment/yolov5l-seg.yaml | 2 +- models/segment/yolov5m-seg.yaml | 2 +- models/segment/yolov5n-seg.yaml | 2 +- models/segment/yolov5s-seg.yaml | 2 +- models/segment/yolov5x-seg.yaml | 2 +- models/tf.py | 2 +- models/yolo.py | 2 +- models/yolov5l.yaml | 2 +- models/yolov5m.yaml | 2 +- models/yolov5n.yaml | 2 +- models/yolov5s.yaml | 2 +- models/yolov5x.yaml | 2 +- pyproject.toml | 2 +- segment/predict.py | 2 +- segment/train.py | 2 +- segment/val.py | 2 +- train.py | 2 +- utils/__init__.py | 2 +- utils/activations.py | 2 +- utils/augmentations.py | 2 +- utils/autoanchor.py | 2 +- utils/autobatch.py | 2 +- utils/aws/resume.py | 1 + utils/callbacks.py | 2 +- utils/dataloaders.py | 2 +- utils/downloads.py | 2 +- utils/flask_rest_api/example_request.py | 2 +- utils/flask_rest_api/restapi.py | 2 +- utils/general.py | 2 +- utils/google_app_engine/app.yaml | 2 ++ utils/loggers/__init__.py | 2 +- utils/loggers/clearml/clearml_utils.py | 1 + utils/loggers/clearml/hpo.py | 2 ++ utils/loggers/comet/__init__.py | 2 ++ utils/loggers/comet/comet_utils.py | 2 ++ utils/loggers/comet/hpo.py | 2 ++ utils/loggers/wandb/wandb_utils.py | 2 +- utils/loss.py | 2 +- utils/metrics.py | 2 +- utils/plots.py | 2 +- utils/segment/augmentations.py | 2 +- utils/segment/dataloaders.py | 2 +- utils/segment/general.py | 2 ++ utils/segment/loss.py | 2 ++ utils/segment/metrics.py | 2 +- utils/segment/plots.py | 2 ++ utils/torch_utils.py | 2 +- utils/triton.py | 2 +- val.py | 2 +- 111 files changed, 123 insertions(+), 96 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 04f9c76fde1f..76b426a195e4 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + name: 🐛 Bug Report # title: " " description: Problems with YOLOv5 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 37080927c0b9..e23dfcf9c56b 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + blank_issues_enabled: true contact_links: - name: 📄 Docs diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 1d3d53df217e..9282e62d2a57 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + name: 🚀 Feature Request description: Suggest a YOLOv5 idea # title: " " diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 8e0993c68bab..5b62af675e2a 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + name: ❓ Question description: Ask a YOLOv5 question # title: " " diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2d4ae31873b8..061d61f1bc24 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# Ultralytics YOLO 🚀, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Dependabot for package version updates # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index c20a07e6c0b4..63eab050fc28 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # YOLOv5 Continuous Integration (CI) GitHub Actions tests name: YOLOv5 CI diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index df8d4fd51303..b012ae4abf89 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,4 +1,4 @@ -# Ultralytics YOLO 🚀, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Ultralytics Contributor License Agreement (CLA) action https://docs.ultralytics.com/help/CLA # This workflow automatically requests Pull Requests (PR) authors to sign the Ultralytics CLA before PRs can be merged diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2897fd0b454d..77054fd0d7c5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,3 +1,4 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # This action runs GitHub's industry-leading static analysis engine, CodeQL, against a repository's source code to find security vulnerabilities. # https://github.com/github/codeql-action diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8b035e26c902..0decb4ce65b5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Builds ultralytics/yolov5:latest images on DockerHub https://hub.docker.com/r/ultralytics/yolov5 name: Publish Docker Images diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index da66ffe5e503..ee176abee996 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,4 +1,4 @@ -# Ultralytics 🚀 - AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Ultralytics Actions https://github.com/ultralytics/actions # This workflow automatically formats code and documentation in PRs to official Ultralytics standards diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 3058d78b0a66..9a938b3fb008 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license name: Greetings diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 3acae3ec2d4d..80e2a48be71f 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -1,4 +1,4 @@ -# Ultralytics YOLO 🚀, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Continuous Integration (CI) GitHub Actions tests broken link checker using https://github.com/lycheeverse/lychee # Ignores the following status codes to reduce false positives: # - 403(OpenVINO, 'forbidden') diff --git a/.github/workflows/merge-main-into-prs.yml b/.github/workflows/merge-main-into-prs.yml index 9ed945c78978..e2c3dc379edd 100644 --- a/.github/workflows/merge-main-into-prs.yml +++ b/.github/workflows/merge-main-into-prs.yml @@ -1,4 +1,4 @@ -# Ultralytics YOLO 🚀, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Automatically merges repository 'main' branch into all open PRs to keep them up-to-date # Action runs on updates to main branch so when one PR merges to main all others update diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 720ba10b08ce..374bc01ab0b7 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license name: Close stale issues on: diff --git a/benchmarks.py b/benchmarks.py index 100cabacdc97..4ca7122551e0 100644 --- a/benchmarks.py +++ b/benchmarks.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Run YOLOv5 benchmarks on all supported export formats. diff --git a/classify/predict.py b/classify/predict.py index 3139d82e7b7d..4dc3735f3a71 100644 --- a/classify/predict.py +++ b/classify/predict.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Run YOLOv5 classification inference on images, videos, directories, globs, YouTube, webcam, streams, etc. diff --git a/classify/train.py b/classify/train.py index 5556e03edff5..79045e9fb87a 100644 --- a/classify/train.py +++ b/classify/train.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Train a YOLOv5 classifier model on a classification dataset. diff --git a/classify/val.py b/classify/val.py index 427618791d65..23dbe7bfa420 100644 --- a/classify/val.py +++ b/classify/val.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Validate a trained YOLOv5 classification model on a classification dataset. diff --git a/data/Argoverse.yaml b/data/Argoverse.yaml index 17b286cb7320..366552ea4f31 100644 --- a/data/Argoverse.yaml +++ b/data/Argoverse.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Argoverse-HD dataset (ring-front-center camera) http://www.cs.cmu.edu/~mengtial/proj/streaming/ by Argo AI # Example usage: python train.py --data Argoverse.yaml # parent diff --git a/data/GlobalWheat2020.yaml b/data/GlobalWheat2020.yaml index 36d79302fc87..2039ccd3cce8 100644 --- a/data/GlobalWheat2020.yaml +++ b/data/GlobalWheat2020.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Global Wheat 2020 dataset http://www.global-wheat.com/ by University of Saskatchewan # Example usage: python train.py --data GlobalWheat2020.yaml # parent diff --git a/data/ImageNet.yaml b/data/ImageNet.yaml index fee72c796a1d..979a0e4de337 100644 --- a/data/ImageNet.yaml +++ b/data/ImageNet.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # ImageNet-1k dataset https://www.image-net.org/index.php by Stanford University # Simplified class names from https://github.com/anishathalye/imagenet-simple-labels # Example usage: python classify/train.py --data imagenet diff --git a/data/ImageNet10.yaml b/data/ImageNet10.yaml index a3f19342d6e8..2189def7d457 100644 --- a/data/ImageNet10.yaml +++ b/data/ImageNet10.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # ImageNet-1k dataset https://www.image-net.org/index.php by Stanford University # Simplified class names from https://github.com/anishathalye/imagenet-simple-labels # Example usage: python classify/train.py --data imagenet diff --git a/data/ImageNet100.yaml b/data/ImageNet100.yaml index 68c86ed76853..560cdecdbae9 100644 --- a/data/ImageNet100.yaml +++ b/data/ImageNet100.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # ImageNet-1k dataset https://www.image-net.org/index.php by Stanford University # Simplified class names from https://github.com/anishathalye/imagenet-simple-labels # Example usage: python classify/train.py --data imagenet diff --git a/data/ImageNet1000.yaml b/data/ImageNet1000.yaml index c5224786a9e7..aa17e9e059cf 100644 --- a/data/ImageNet1000.yaml +++ b/data/ImageNet1000.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # ImageNet-1k dataset https://www.image-net.org/index.php by Stanford University # Simplified class names from https://github.com/anishathalye/imagenet-simple-labels # Example usage: python classify/train.py --data imagenet diff --git a/data/Objects365.yaml b/data/Objects365.yaml index 2a4fef135f38..f1f0a1ae4891 100644 --- a/data/Objects365.yaml +++ b/data/Objects365.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Objects365 dataset https://www.objects365.org/ by Megvii # Example usage: python train.py --data Objects365.yaml # parent diff --git a/data/SKU-110K.yaml b/data/SKU-110K.yaml index b072f671e482..b012bec3128b 100644 --- a/data/SKU-110K.yaml +++ b/data/SKU-110K.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # SKU-110K retail items dataset https://github.com/eg4000/SKU110K_CVPR19 by Trax Retail # Example usage: python train.py --data SKU-110K.yaml # parent diff --git a/data/VOC.yaml b/data/VOC.yaml index 27fa80bccaed..6929f015dcbf 100644 --- a/data/VOC.yaml +++ b/data/VOC.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC by University of Oxford # Example usage: python train.py --data VOC.yaml # parent diff --git a/data/VisDrone.yaml b/data/VisDrone.yaml index 6b6e797226df..1dc4e3e0d054 100644 --- a/data/VisDrone.yaml +++ b/data/VisDrone.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # VisDrone2019-DET dataset https://github.com/VisDrone/VisDrone-Dataset by Tianjin University # Example usage: python train.py --data VisDrone.yaml # parent diff --git a/data/coco.yaml b/data/coco.yaml index 102b3c2d1b83..4bfd52a9d536 100644 --- a/data/coco.yaml +++ b/data/coco.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # COCO 2017 dataset http://cocodataset.org by Microsoft # Example usage: python train.py --data coco.yaml # parent diff --git a/data/coco128-seg.yaml b/data/coco128-seg.yaml index 9a40c28a4d67..a96ee8ff6696 100644 --- a/data/coco128-seg.yaml +++ b/data/coco128-seg.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # COCO128-seg dataset https://www.kaggle.com/ultralytics/coco128 (first 128 images from COCO train2017) by Ultralytics # Example usage: python train.py --data coco128.yaml # parent diff --git a/data/coco128.yaml b/data/coco128.yaml index 7e3e6c03feec..074903dd0ddf 100644 --- a/data/coco128.yaml +++ b/data/coco128.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # COCO128 dataset https://www.kaggle.com/ultralytics/coco128 (first 128 images from COCO train2017) by Ultralytics # Example usage: python train.py --data coco128.yaml # parent diff --git a/data/hyps/hyp.Objects365.yaml b/data/hyps/hyp.Objects365.yaml index c4b6e8051d7b..7a6c507c73bf 100644 --- a/data/hyps/hyp.Objects365.yaml +++ b/data/hyps/hyp.Objects365.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Hyperparameters for Objects365 training # python train.py --weights yolov5m.pt --data Objects365.yaml --evolve # See Hyperparameter Evolution tutorial for details https://github.com/ultralytics/yolov5#tutorials diff --git a/data/hyps/hyp.VOC.yaml b/data/hyps/hyp.VOC.yaml index ce20dbbddbdb..c04c63e21ea0 100644 --- a/data/hyps/hyp.VOC.yaml +++ b/data/hyps/hyp.VOC.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Hyperparameters for VOC training # python train.py --batch 128 --weights yolov5m6.pt --data VOC.yaml --epochs 50 --img 512 --hyp hyp.scratch-med.yaml --evolve # See Hyperparameter Evolution tutorial for details https://github.com/ultralytics/yolov5#tutorials diff --git a/data/hyps/hyp.no-augmentation.yaml b/data/hyps/hyp.no-augmentation.yaml index 74e10145e34a..adc360bb83f8 100644 --- a/data/hyps/hyp.no-augmentation.yaml +++ b/data/hyps/hyp.no-augmentation.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Hyperparameters when using Albumentations frameworks # python train.py --hyp hyp.no-augmentation.yaml # See https://github.com/ultralytics/yolov5/pull/3882 for YOLOv5 + Albumentations Usage examples diff --git a/data/hyps/hyp.scratch-high.yaml b/data/hyps/hyp.scratch-high.yaml index d9110f93f67b..3e913e36df16 100644 --- a/data/hyps/hyp.scratch-high.yaml +++ b/data/hyps/hyp.scratch-high.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Hyperparameters for high-augmentation COCO training from scratch # python train.py --batch 32 --cfg yolov5m6.yaml --weights '' --data coco.yaml --img 1280 --epochs 300 # See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials diff --git a/data/hyps/hyp.scratch-low.yaml b/data/hyps/hyp.scratch-low.yaml index cb29929bb0da..ff0d1e7ff1ac 100644 --- a/data/hyps/hyp.scratch-low.yaml +++ b/data/hyps/hyp.scratch-low.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Hyperparameters for low-augmentation COCO training from scratch # python train.py --batch 64 --cfg yolov5n6.yaml --weights '' --data coco.yaml --img 640 --epochs 300 --linear # See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials diff --git a/data/hyps/hyp.scratch-med.yaml b/data/hyps/hyp.scratch-med.yaml index 183e47bd0c03..c2fba1fc2b80 100644 --- a/data/hyps/hyp.scratch-med.yaml +++ b/data/hyps/hyp.scratch-med.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Hyperparameters for medium-augmentation COCO training from scratch # python train.py --batch 32 --cfg yolov5m6.yaml --weights '' --data coco.yaml --img 1280 --epochs 300 # See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials diff --git a/data/xView.yaml b/data/xView.yaml index e215868efb6e..407159831e7c 100644 --- a/data/xView.yaml +++ b/data/xView.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # DIUx xView 2018 Challenge https://challenge.xviewdataset.org by U.S. National Geospatial-Intelligence Agency (NGA) # -------- DOWNLOAD DATA MANUALLY and jar xf val_images.zip to 'datasets/xView' before running train command! -------- # Example usage: python train.py --data xView.yaml diff --git a/detect.py b/detect.py index c58aa80a68fc..8d1cc56d998a 100644 --- a/detect.py +++ b/detect.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Run YOLOv5 detection inference on images, videos, directories, globs, YouTube, webcam, streams, etc. diff --git a/export.py b/export.py index 214d903c2998..32f6d303acce 100644 --- a/export.py +++ b/export.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Export a YOLOv5 PyTorch model to other formats. TensorFlow exports authored by https://github.com/zldrobit diff --git a/hubconf.py b/hubconf.py index 53afdff62aea..4b0c36b8daed 100644 --- a/hubconf.py +++ b/hubconf.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ PyTorch Hub models https://pytorch.org/hub/ultralytics_yolov5 diff --git a/models/common.py b/models/common.py index 12244fd4b3cf..781f999445db 100644 --- a/models/common.py +++ b/models/common.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Common modules.""" import ast diff --git a/models/experimental.py b/models/experimental.py index 6152cef1b389..ab9b0ed23dc3 100644 --- a/models/experimental.py +++ b/models/experimental.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Experimental modules.""" import math diff --git a/models/hub/anchors.yaml b/models/hub/anchors.yaml index eb77a25b91b9..c8089311b267 100644 --- a/models/hub/anchors.yaml +++ b/models/hub/anchors.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Default anchors for COCO data # P5 ------------------------------------------------------------------------------------------------------------------- diff --git a/models/hub/yolov3-spp.yaml b/models/hub/yolov3-spp.yaml index 31d3df8d087c..0e073667bf70 100644 --- a/models/hub/yolov3-spp.yaml +++ b/models/hub/yolov3-spp.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov3-tiny.yaml b/models/hub/yolov3-tiny.yaml index ba06f22f8788..0a74fff715f8 100644 --- a/models/hub/yolov3-tiny.yaml +++ b/models/hub/yolov3-tiny.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov3.yaml b/models/hub/yolov3.yaml index cc00d7a5098b..ce4a980c8200 100644 --- a/models/hub/yolov3.yaml +++ b/models/hub/yolov3.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-bifpn.yaml b/models/hub/yolov5-bifpn.yaml index 948f4a746b83..bf05e434c6a2 100644 --- a/models/hub/yolov5-bifpn.yaml +++ b/models/hub/yolov5-bifpn.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-fpn.yaml b/models/hub/yolov5-fpn.yaml index 9882a1bfae90..dcfdd14a7d2c 100644 --- a/models/hub/yolov5-fpn.yaml +++ b/models/hub/yolov5-fpn.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-p2.yaml b/models/hub/yolov5-p2.yaml index 6f84c44ca448..2626e734835e 100644 --- a/models/hub/yolov5-p2.yaml +++ b/models/hub/yolov5-p2.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-p34.yaml b/models/hub/yolov5-p34.yaml index 745ac9c97599..fba35ec10a1e 100644 --- a/models/hub/yolov5-p34.yaml +++ b/models/hub/yolov5-p34.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-p6.yaml b/models/hub/yolov5-p6.yaml index a6d2107819da..c997df2db505 100644 --- a/models/hub/yolov5-p6.yaml +++ b/models/hub/yolov5-p6.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-p7.yaml b/models/hub/yolov5-p7.yaml index d7a0bd33c278..14e6ce05d791 100644 --- a/models/hub/yolov5-p7.yaml +++ b/models/hub/yolov5-p7.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5-panet.yaml b/models/hub/yolov5-panet.yaml index 85ad66d6b18b..f0857f92d53a 100644 --- a/models/hub/yolov5-panet.yaml +++ b/models/hub/yolov5-panet.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5l6.yaml b/models/hub/yolov5l6.yaml index 5bc5b8c43812..05501a9d134b 100644 --- a/models/hub/yolov5l6.yaml +++ b/models/hub/yolov5l6.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5m6.yaml b/models/hub/yolov5m6.yaml index a8e4580b095d..1512e2b6e08d 100644 --- a/models/hub/yolov5m6.yaml +++ b/models/hub/yolov5m6.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5n6.yaml b/models/hub/yolov5n6.yaml index b54031053835..11350413ecf8 100644 --- a/models/hub/yolov5n6.yaml +++ b/models/hub/yolov5n6.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5s-LeakyReLU.yaml b/models/hub/yolov5s-LeakyReLU.yaml index 7219c24380b4..6e9d4a8820e2 100644 --- a/models/hub/yolov5s-LeakyReLU.yaml +++ b/models/hub/yolov5s-LeakyReLU.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5s-ghost.yaml b/models/hub/yolov5s-ghost.yaml index 866d87e4126e..cc4336948760 100644 --- a/models/hub/yolov5s-ghost.yaml +++ b/models/hub/yolov5s-ghost.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5s-transformer.yaml b/models/hub/yolov5s-transformer.yaml index 6bf0fe057c44..1b2d62c5a3fe 100644 --- a/models/hub/yolov5s-transformer.yaml +++ b/models/hub/yolov5s-transformer.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5s6.yaml b/models/hub/yolov5s6.yaml index 0772d9827b48..2a4c1162575b 100644 --- a/models/hub/yolov5s6.yaml +++ b/models/hub/yolov5s6.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/hub/yolov5x6.yaml b/models/hub/yolov5x6.yaml index c5a850ed3159..0c8f29e600c3 100644 --- a/models/hub/yolov5x6.yaml +++ b/models/hub/yolov5x6.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/segment/yolov5l-seg.yaml b/models/segment/yolov5l-seg.yaml index 77fa4977d1d8..de430f4fbdf3 100644 --- a/models/segment/yolov5l-seg.yaml +++ b/models/segment/yolov5l-seg.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/segment/yolov5m-seg.yaml b/models/segment/yolov5m-seg.yaml index bb2b266a0412..288577778252 100644 --- a/models/segment/yolov5m-seg.yaml +++ b/models/segment/yolov5m-seg.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/segment/yolov5n-seg.yaml b/models/segment/yolov5n-seg.yaml index fac31af2ff43..faf5228fd3ef 100644 --- a/models/segment/yolov5n-seg.yaml +++ b/models/segment/yolov5n-seg.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/segment/yolov5s-seg.yaml b/models/segment/yolov5s-seg.yaml index 10d876aaeffe..a199f1d82388 100644 --- a/models/segment/yolov5s-seg.yaml +++ b/models/segment/yolov5s-seg.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/segment/yolov5x-seg.yaml b/models/segment/yolov5x-seg.yaml index 9f04e4492789..75f426386e3a 100644 --- a/models/segment/yolov5x-seg.yaml +++ b/models/segment/yolov5x-seg.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/tf.py b/models/tf.py index 2a5cd566c406..c65938c4b31b 100644 --- a/models/tf.py +++ b/models/tf.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ TensorFlow, Keras and TFLite versions of YOLOv5 Authored by https://github.com/zldrobit in PR https://github.com/ultralytics/yolov5/pull/1127 diff --git a/models/yolo.py b/models/yolo.py index ca62f934fc3f..5390db6a5ec0 100644 --- a/models/yolo.py +++ b/models/yolo.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ YOLO-specific modules. diff --git a/models/yolov5l.yaml b/models/yolov5l.yaml index f22eab9575a9..7cac7ead20aa 100644 --- a/models/yolov5l.yaml +++ b/models/yolov5l.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/yolov5m.yaml b/models/yolov5m.yaml index 0a3f484c77eb..820e6070499c 100644 --- a/models/yolov5m.yaml +++ b/models/yolov5m.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/yolov5n.yaml b/models/yolov5n.yaml index 6f08a0b3e921..d3b84ace2b76 100644 --- a/models/yolov5n.yaml +++ b/models/yolov5n.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/yolov5s.yaml b/models/yolov5s.yaml index 5cd3c6c22870..090cb67c2bec 100644 --- a/models/yolov5s.yaml +++ b/models/yolov5s.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/models/yolov5x.yaml b/models/yolov5x.yaml index 26a5ba7253dc..8c1a6be1b7a8 100644 --- a/models/yolov5x.yaml +++ b/models/yolov5x.yaml @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Parameters nc: 80 # number of classes diff --git a/pyproject.toml b/pyproject.toml index 11d151f4293f..8905a28fc702 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ -# Ultralyticsv5 YOLO 🚀, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Overview: # This pyproject.toml file manages the build, packaging, and distribution of the Ultralytics library. diff --git a/segment/predict.py b/segment/predict.py index bea9bfe2f21c..109a68415b0d 100644 --- a/segment/predict.py +++ b/segment/predict.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Run YOLOv5 segmentation inference on images, videos, directories, streams, etc. diff --git a/segment/train.py b/segment/train.py index a0d0c5119639..2b1dca115d9a 100644 --- a/segment/train.py +++ b/segment/train.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Train a YOLOv5 segment model on a segment dataset Models and datasets download automatically from the latest YOLOv5 release. diff --git a/segment/val.py b/segment/val.py index bafdb5dcec07..b0a941faa151 100644 --- a/segment/val.py +++ b/segment/val.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Validate a trained YOLOv5 segment model on a segment dataset. diff --git a/train.py b/train.py index df0972a67c70..a870262a9eed 100644 --- a/train.py +++ b/train.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Train a YOLOv5 model on a custom dataset. Models and datasets download automatically from the latest YOLOv5 release. diff --git a/utils/__init__.py b/utils/__init__.py index 0b7e1fdfc31a..91fc7694676f 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """utils/initialization.""" import contextlib diff --git a/utils/activations.py b/utils/activations.py index 928ae55a0b60..47f0a998024e 100644 --- a/utils/activations.py +++ b/utils/activations.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Activation functions.""" import torch diff --git a/utils/augmentations.py b/utils/augmentations.py index 3556bffeda18..1840d47d46c9 100644 --- a/utils/augmentations.py +++ b/utils/augmentations.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Image augmentation functions.""" import math diff --git a/utils/autoanchor.py b/utils/autoanchor.py index 62c39811657b..79b79db0fc12 100644 --- a/utils/autoanchor.py +++ b/utils/autoanchor.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """AutoAnchor utils.""" import random diff --git a/utils/autobatch.py b/utils/autobatch.py index 52a71f62c47c..08a0de841a98 100644 --- a/utils/autobatch.py +++ b/utils/autobatch.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Auto-batch utils.""" from copy import deepcopy diff --git a/utils/aws/resume.py b/utils/aws/resume.py index 4525ba96749a..ea432a1615ca 100644 --- a/utils/aws/resume.py +++ b/utils/aws/resume.py @@ -1,3 +1,4 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Resume all interrupted trainings in yolov5/ dir including DDP trainings # Usage: $ python utils/aws/resume.py diff --git a/utils/callbacks.py b/utils/callbacks.py index 3275789fa12e..0a0bcbdb2b96 100644 --- a/utils/callbacks.py +++ b/utils/callbacks.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Callback utils.""" import threading diff --git a/utils/dataloaders.py b/utils/dataloaders.py index 7ca451aa0929..dacb0e0b33d7 100644 --- a/utils/dataloaders.py +++ b/utils/dataloaders.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Dataloaders and dataset utils.""" import contextlib diff --git a/utils/downloads.py b/utils/downloads.py index 071e1b077bf6..a7b599efad20 100644 --- a/utils/downloads.py +++ b/utils/downloads.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Download utils.""" import logging diff --git a/utils/flask_rest_api/example_request.py b/utils/flask_rest_api/example_request.py index 7b850051cca0..104249002aa3 100644 --- a/utils/flask_rest_api/example_request.py +++ b/utils/flask_rest_api/example_request.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Perform test request.""" import pprint diff --git a/utils/flask_rest_api/restapi.py b/utils/flask_rest_api/restapi.py index b9bd16f1a63e..7e03d3a6679a 100644 --- a/utils/flask_rest_api/restapi.py +++ b/utils/flask_rest_api/restapi.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Run a Flask REST API exposing one or more YOLOv5s models.""" import argparse diff --git a/utils/general.py b/utils/general.py index 64ae50626e14..bce9d6d7455b 100644 --- a/utils/general.py +++ b/utils/general.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """General utils.""" import contextlib diff --git a/utils/google_app_engine/app.yaml b/utils/google_app_engine/app.yaml index 5056b7c1186d..4c1751f55429 100644 --- a/utils/google_app_engine/app.yaml +++ b/utils/google_app_engine/app.yaml @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + runtime: custom env: flex diff --git a/utils/loggers/__init__.py b/utils/loggers/__init__.py index 011ec7c8915b..a7575a049bc1 100644 --- a/utils/loggers/__init__.py +++ b/utils/loggers/__init__.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Logging utils.""" import json diff --git a/utils/loggers/clearml/clearml_utils.py b/utils/loggers/clearml/clearml_utils.py index 6a6ed7636c88..f1b56650461e 100644 --- a/utils/loggers/clearml/clearml_utils.py +++ b/utils/loggers/clearml/clearml_utils.py @@ -1,3 +1,4 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Main Logger class for ClearML experiment tracking.""" import glob diff --git a/utils/loggers/clearml/hpo.py b/utils/loggers/clearml/hpo.py index aa1b7ab9494d..5a9be757aac0 100644 --- a/utils/loggers/clearml/hpo.py +++ b/utils/loggers/clearml/hpo.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + from clearml import Task # Connecting ClearML with the current process, diff --git a/utils/loggers/comet/__init__.py b/utils/loggers/comet/__init__.py index 076eb3ccecab..3a91c49258a8 100644 --- a/utils/loggers/comet/__init__.py +++ b/utils/loggers/comet/__init__.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + import glob import json import logging diff --git a/utils/loggers/comet/comet_utils.py b/utils/loggers/comet/comet_utils.py index 7eca1f504d69..cf936ab48453 100644 --- a/utils/loggers/comet/comet_utils.py +++ b/utils/loggers/comet/comet_utils.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + import logging import os from urllib.parse import urlparse diff --git a/utils/loggers/comet/hpo.py b/utils/loggers/comet/hpo.py index 8ca08ddc858a..c225ebbd0484 100644 --- a/utils/loggers/comet/hpo.py +++ b/utils/loggers/comet/hpo.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + import argparse import json import logging diff --git a/utils/loggers/wandb/wandb_utils.py b/utils/loggers/wandb/wandb_utils.py index 4083312e6a59..930f2c7543af 100644 --- a/utils/loggers/wandb/wandb_utils.py +++ b/utils/loggers/wandb/wandb_utils.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license # WARNING ⚠️ wandb is deprecated and will be removed in future release. # See supported integrations at https://github.com/ultralytics/yolov5#integrations diff --git a/utils/loss.py b/utils/loss.py index 9d09f9df0261..e8f148e77c74 100644 --- a/utils/loss.py +++ b/utils/loss.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Loss functions.""" import torch diff --git a/utils/metrics.py b/utils/metrics.py index e572355fec1e..385fdc471748 100644 --- a/utils/metrics.py +++ b/utils/metrics.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Model validation metrics.""" import math diff --git a/utils/plots.py b/utils/plots.py index cb5edabc6c41..062658cda979 100644 --- a/utils/plots.py +++ b/utils/plots.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Plotting utils.""" import contextlib diff --git a/utils/segment/augmentations.py b/utils/segment/augmentations.py index e13a53d34821..5773b56f4d7f 100644 --- a/utils/segment/augmentations.py +++ b/utils/segment/augmentations.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Image augmentation functions.""" import math diff --git a/utils/segment/dataloaders.py b/utils/segment/dataloaders.py index 9d2e9bef0b09..d25d98148602 100644 --- a/utils/segment/dataloaders.py +++ b/utils/segment/dataloaders.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Dataloaders.""" import os diff --git a/utils/segment/general.py b/utils/segment/general.py index f292496c0da9..2f65d60238dd 100644 --- a/utils/segment/general.py +++ b/utils/segment/general.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + import cv2 import numpy as np import torch diff --git a/utils/segment/loss.py b/utils/segment/loss.py index fa0c10939b70..d4bc9d3aed54 100644 --- a/utils/segment/loss.py +++ b/utils/segment/loss.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + import torch import torch.nn as nn import torch.nn.functional as F diff --git a/utils/segment/metrics.py b/utils/segment/metrics.py index 973b398eb6b9..7bdf3258abb7 100644 --- a/utils/segment/metrics.py +++ b/utils/segment/metrics.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Model validation metrics.""" import numpy as np diff --git a/utils/segment/plots.py b/utils/segment/plots.py index ce01988be937..f5b81711cc93 100644 --- a/utils/segment/plots.py +++ b/utils/segment/plots.py @@ -1,3 +1,5 @@ +# Ultralytics YOLOv5 🚀, AGPL-3.0 license + import contextlib import math from pathlib import Path diff --git a/utils/torch_utils.py b/utils/torch_utils.py index 28893c71deef..0b006d80562b 100644 --- a/utils/torch_utils.py +++ b/utils/torch_utils.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """PyTorch utils.""" import math diff --git a/utils/triton.py b/utils/triton.py index 87524c9c7801..3d529ec88a07 100644 --- a/utils/triton.py +++ b/utils/triton.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """Utils to interact with the Triton Inference Server.""" import typing diff --git a/val.py b/val.py index 1c8c65ba89aa..221226b4a45a 100644 --- a/val.py +++ b/val.py @@ -1,4 +1,4 @@ -# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license +# Ultralytics YOLOv5 🚀, AGPL-3.0 license """ Validate a trained YOLOv5 detection model on a detection dataset.