Added Image Segmentation which fixes #13516 #15399
Annotations
8 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (W292):
computer_vision/Image_Segmentation_SAM2.py#L419
computer_vision/Image_Segmentation_SAM2.py:419:11: W292 No newline at end of file
|
|
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'
|