From 89a3de1ba831d3b9f382999b950be697d9bc07c5 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 6 Dec 2024 16:40:32 +0100 Subject: [PATCH] Fix Docs YAML boolean (#18072) Signed-off-by: Glenn Jocher Signed-off-by: UltralyticsAssistant Co-authored-by: UltralyticsAssistant --- .github/workflows/docs.yml | 2 +- ultralytics/models/sam/predict.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dfb6a34631..40b7efc186 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,7 +23,7 @@ on: inputs: publish_docs: description: "Publish live to https://docs.ultralytics.com" - default: "true" + default: true type: boolean jobs: diff --git a/ultralytics/models/sam/predict.py b/ultralytics/models/sam/predict.py index 540d1007a3..b657ef7051 100644 --- a/ultralytics/models/sam/predict.py +++ b/ultralytics/models/sam/predict.py @@ -1105,7 +1105,7 @@ class SAM2VideoPredictor(SAM2Predictor): for obj_temp_output_dict in temp_output_dict_per_obj.values(): temp_frame_inds.update(obj_temp_output_dict[storage_key].keys()) consolidated_frame_inds[storage_key].update(temp_frame_inds) - # consolidate the temprary output across all objects on this frame + # consolidate the temporary output across all objects on this frame for frame_idx in temp_frame_inds: consolidated_out = self._consolidate_temp_output_across_obj( frame_idx, is_cond=is_cond, run_mem_encoder=True