Fix typo: zip(..., strict=True)

This commit is contained in:
Ryan Dick 2024-07-31 08:15:28 -04:00
parent 5701c79fab
commit 67c32f3d6c

View File

@ -143,7 +143,7 @@ class GroundedSAMInvocation(BaseInvocation):
masks = self._to_numpy_masks(masks) masks = self._to_numpy_masks(masks)
masks = self._apply_polygon_refinement(masks) masks = self._apply_polygon_refinement(masks)
for detection_result, mask in zip(detection_results, masks, strict=False): for detection_result, mask in zip(detection_results, masks, strict=True):
detection_result.mask = mask detection_result.mask = mask
return detection_results return detection_results