diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 04f9c76fd..76b426a19 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 37080927c..e23dfcf9c 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 1d3d53df2..9282e62d2 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 8e0993c68..5b62af675 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 2d4ae3187..061d61f1b 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 c20a07e6c..63eab050f 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 df8d4fd51..b012ae4ab 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 2897fd0b4..77054fd0d 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 8b035e26c..0decb4ce6 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 da66ffe5e..ee176abee 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 3058d78b0..9a938b3fb 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 3acae3ec2..80e2a48be 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 9ed945c78..e2c3dc379 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 720ba10b0..374bc01ab 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 100cabacd..4ca712255 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 3139d82e7..4dc3735f3 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 5556e03ed..79045e9fb 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 427618791..23dbe7bfa 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 17b286cb7..366552ea4 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 36d79302f..2039ccd3c 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 fee72c796..979a0e4de 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 a3f19342d..2189def7d 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 68c86ed76..560cdecdb 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 c5224786a..aa17e9e05 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 2a4fef135..f1f0a1ae4 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 b072f671e..b012bec31 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 27fa80bcc..6929f015d 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 6b6e79722..1dc4e3e0d 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 102b3c2d1..4bfd52a9d 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 9a40c28a4..a96ee8ff6 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 7e3e6c03f..074903dd0 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 c4b6e8051..7a6c507c7 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 ce20dbbdd..c04c63e21 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 74e10145e..adc360bb8 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 d9110f93f..3e913e36d 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 cb29929bb..ff0d1e7ff 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 183e47bd0..c2fba1fc2 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 e215868ef..407159831 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 c58aa80a6..8d1cc56d9 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 214d903c2..32f6d303a 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 53afdff62..4b0c36b8d 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 12244fd4b..781f99944 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 6152cef1b..ab9b0ed23 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 eb77a25b9..c8089311b 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 31d3df8d0..0e073667b 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 ba06f22f8..0a74fff71 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 cc00d7a50..ce4a980c8 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 948f4a746..bf05e434c 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 9882a1bfa..dcfdd14a7 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 6f84c44ca..2626e7348 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 745ac9c97..fba35ec10 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 a6d210781..c997df2db 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 d7a0bd33c..14e6ce05d 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 85ad66d6b..f0857f92d 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 5bc5b8c43..05501a9d1 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 a8e4580b0..1512e2b6e 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 b54031053..11350413e 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 7219c2438..6e9d4a882 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 866d87e41..cc4336948 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 6bf0fe057..1b2d62c5a 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 0772d9827..2a4c11625 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 c5a850ed3..0c8f29e60 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 77fa4977d..de430f4fb 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 bb2b266a0..288577778 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 fac31af2f..faf5228fd 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 10d876aae..a199f1d82 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 9f04e4492..75f426386 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 2a5cd566c..c65938c4b 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 ca62f934f..5390db6a5 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 f22eab957..7cac7ead2 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 0a3f484c7..820e60704 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 6f08a0b3e..d3b84ace2 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 5cd3c6c22..090cb67c2 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 26a5ba725..8c1a6be1b 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 11d151f42..8905a28fc 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 bea9bfe2f..109a68415 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 a0d0c5119..2b1dca115 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 bafdb5dce..b0a941faa 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 df0972a67..a870262a9 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 0b7e1fdfc..91fc76946 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 928ae55a0..47f0a9980 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 3556bffed..1840d47d4 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 62c398116..79b79db0f 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 52a71f62c..08a0de841 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 4525ba967..ea432a161 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 3275789fa..0a0bcbdb2 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 7ca451aa0..dacb0e0b3 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 071e1b077..a7b599efa 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 7b850051c..104249002 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 b9bd16f1a..7e03d3a66 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 64ae50626..bce9d6d74 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 5056b7c11..4c1751f55 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 011ec7c89..a7575a049 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 6a6ed7636..f1b566504 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 aa1b7ab94..5a9be757a 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 076eb3cce..3a91c4925 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 7eca1f504..cf936ab48 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 8ca08ddc8..c225ebbd0 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 4083312e6..930f2c754 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 9d09f9df0..e8f148e77 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 e572355fe..385fdc471 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 cb5edabc6..062658cda 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 e13a53d34..5773b56f4 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 9d2e9bef0..d25d98148 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 f292496c0..2f65d6023 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 fa0c10939..d4bc9d3ae 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 973b398eb..7bdf3258a 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 ce01988be..f5b81711c 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 28893c71d..0b006d805 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 87524c9c7..3d529ec88 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 1c8c65ba8..221226b4a 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.