From deb0d7645c4ee31b9f055cd2747f4686334f7dad Mon Sep 17 00:00:00 2001 From: nkumar-bdaii Date: Tue, 16 Apr 2024 09:31:20 -0400 Subject: [PATCH] fix mypy --- predicators/spot_utils/perception/object_detection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predicators/spot_utils/perception/object_detection.py b/predicators/spot_utils/perception/object_detection.py index c3b900ecbb..6757e8f324 100644 --- a/predicators/spot_utils/perception/object_detection.py +++ b/predicators/spot_utils/perception/object_detection.py @@ -274,7 +274,7 @@ def _query_detic_sam( # Create buffer dictionary to send to server. buf_dict = {} for camera_name, rgbd in rgbds.items(): - pil_rotated_img = PIL.Image.fromarray(rgbd.rotated_rgb) + pil_rotated_img = PIL.Image.fromarray(rgbd.rotated_rgb) # type: ignore buf_dict[camera_name] = _image_to_bytes(pil_rotated_img) # Extract all the classes that we want to detect.