Skip to content

Added Image Segmentation which fixes #13516 #15400

Added Image Segmentation which fixes #13516

Added Image Segmentation which fixes #13516 #15400

Triggered via pull request October 15, 2025 14:19
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
ruff
Process completed with exit code 1.
Ruff (RUF059): computer_vision/Image_Segmentation_SAM2.py#L363
computer_vision/Image_Segmentation_SAM2.py:363:18: RUF059 Unpacked variable `scores_batch` is never used
Ruff (B007): computer_vision/Image_Segmentation_SAM2.py#L322
computer_vision/Image_Segmentation_SAM2.py:322:9: B007 Loop control variable `i` not used within loop body
Ruff (ARG001): computer_vision/Image_Segmentation_SAM2.py#L225
computer_vision/Image_Segmentation_SAM2.py:225:23: ARG001 Unused function argument: `previous_masks`
Ruff (NPY002): computer_vision/Image_Segmentation_SAM2.py#L55
computer_vision/Image_Segmentation_SAM2.py:55:33: NPY002 Replace legacy `np.random.random` call with `np.random.Generator`
Ruff (NPY002): computer_vision/Image_Segmentation_SAM2.py#L41
computer_vision/Image_Segmentation_SAM2.py:41:1: NPY002 Replace legacy `np.random.seed` call with `np.random.Generator`
Ruff (N999): computer_vision/Image_Segmentation_SAM2.py#L1
computer_vision/Image_Segmentation_SAM2.py:1:1: N999 Invalid module name: 'Image_Segmentation_SAM2'