From c872e9d47441243ea0d212db92631f8cd543a730 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 17 Apr 2025 12:51:27 +0200 Subject: [PATCH] `ultralytics 8.3.110` New dataset file access speed checks (#20197) Signed-off-by: Glenn Jocher Co-authored-by: UltralyticsAssistant --- docs/en/help/code-of-conduct.md | 4 +- docs/en/models/yoloe.md | 8 +- docs/en/reference/data/utils.md | 4 + .../google_cloud_quickstart_tutorial.md | 2 +- docs/overrides/main.html | 2 +- ultralytics/__init__.py | 2 +- ultralytics/data/base.py | 3 +- ultralytics/data/dataset.py | 2 + ultralytics/data/utils.py | 75 +++++++++++++++++++ ultralytics/engine/exporter.py | 4 +- ultralytics/nn/autobackend.py | 2 +- ultralytics/nn/modules/block.py | 2 +- ultralytics/nn/modules/conv.py | 2 +- ultralytics/solutions/parking_management.py | 2 +- ultralytics/utils/dist.py | 2 +- ultralytics/utils/metrics.py | 2 +- 16 files changed, 100 insertions(+), 18 deletions(-) diff --git a/docs/en/help/code-of-conduct.md b/docs/en/help/code-of-conduct.md index 7668b2c5cd..05c1af6420 100644 --- a/docs/en/help/code-of-conduct.md +++ b/docs/en/help/code-of-conduct.md @@ -76,11 +76,11 @@ Community leaders will follow these Community Impact Guidelines in determining t ## Attribution -This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. +This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct/. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/inclusion). -For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations. +For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq/. Translations are available at https://www.contributor-covenant.org/translations/. ## FAQ diff --git a/docs/en/models/yoloe.md b/docs/en/models/yoloe.md index f084449a75..d6fbd61c88 100644 --- a/docs/en/models/yoloe.md +++ b/docs/en/models/yoloe.md @@ -236,13 +236,13 @@ YOLOE supports both text-based and visual prompting. Using prompts is straightfo # Define visual prompts based on a separate reference image visual_prompts = dict( bboxes=np.array([[221.52, 405.8, 344.98, 857.54]]), # Box enclosing person - cls=np.array([0]) # ID to be assigned for person + cls=np.array([0]), # ID to be assigned for person ) # Run prediction on a different image, using reference image to guide what to look for results = model.predict( - "ultralytics/assets/zidane.jpg", # Target image for detection - refer_image="ultralytics/assets/bus.jpg", # Reference image used to get visual prompts + "ultralytics/assets/zidane.jpg", # Target image for detection + refer_image="ultralytics/assets/bus.jpg", # Reference image used to get visual prompts visual_prompts=visual_prompts, predictor=YOLOEVPSegPredictor, ) @@ -263,7 +263,7 @@ YOLOE supports both text-based and visual prompting. Using prompts is straightfo model = YOLOE("yoloe-11l-seg.pt") # Define visual prompts using bounding boxes and their corresponding class IDs. - # Each box highlights an example of the object you want the model to detect. + # Each box highlights an example of the object you want the model to detect. visual_prompts = dict( bboxes=[ np.array( diff --git a/docs/en/reference/data/utils.md b/docs/en/reference/data/utils.md index 7721d5ea12..a9436ca907 100644 --- a/docs/en/reference/data/utils.md +++ b/docs/en/reference/data/utils.md @@ -19,6 +19,10 @@ keywords: Ultralytics, dataset utils, data handling, image verification, Python,



+## ::: ultralytics.data.utils.check_file_speeds + +



+ ## ::: ultralytics.data.utils.get_hash



diff --git a/docs/en/yolov5/environments/google_cloud_quickstart_tutorial.md b/docs/en/yolov5/environments/google_cloud_quickstart_tutorial.md index 264e985519..cd55067101 100644 --- a/docs/en/yolov5/environments/google_cloud_quickstart_tutorial.md +++ b/docs/en/yolov5/environments/google_cloud_quickstart_tutorial.md @@ -109,7 +109,7 @@ For efficient data management, especially with large datasets or numerous experi ```bash # Ensure Google Cloud SDK is installed and initialized -# If not installed: curl https://sdk.cloud.google.com | bash +# If not installed: curl https://sdk.cloud.google.com/ | bash # Then initialize: gcloud init # Example: Copy your dataset from a GCS bucket to your VM diff --git a/docs/overrides/main.html b/docs/overrides/main.html index 97a5037ad5..1b1151c14b 100644 --- a/docs/overrides/main.html +++ b/docs/overrides/main.html @@ -5,7 +5,7 @@