Skip to content

Commit 6b33680

Browse files
authored
Update image_segmentation_sam2.py
1 parent fd4ef37 commit 6b33680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

computer_vision/image_segmentation_sam2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def demonstrate_batched_prompts(predictor, image):
319319
# Display all masks together
320320
plt.figure(figsize=(10, 10))
321321
plt.imshow(image)
322-
for i, mask in enumerate(masks):
322+
for _i, mask in enumerate(masks):
323323
show_mask(mask.squeeze(0), plt.gca(), random_color=True)
324324
for mask in masks:
325325
show_mask(mask.squeeze(0), plt.gca(), random_color=True)

0 commit comments

Comments
 (0)