Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
nkumar-bdai committed Apr 16, 2024
1 parent 43d9ec6 commit deb0d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion predicators/spot_utils/perception/object_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit deb0d76

Please sign in to comment.