Roman Shapovalov 7aeedd17a4 When bounding boxes are cached in metadata, don’t crash on load_masks=False
Summary:
We currently support caching bounding boxes in MaskAnnotation. If present, they are not re-computed from the mask. However, the masks need to be loaded for the bbox to be set.

This diff fixes that. Even if load_masks / load_blobs are unset, the bounding box can be picked up from the metadata.

Reviewed By: bottler

Differential Revision: D45144918

fbshipit-source-id: 8a2e2c115e96070b6fcdc29cbe57e1cee606ddcd
2023-04-20 07:28:45 -07:00
..
2023-01-17 06:11:56 -08:00
2023-03-24 07:27:39 -07:00
2022-03-21 13:20:10 -07:00
2022-10-09 05:06:49 -07:00
2022-07-22 15:52:50 -07:00
2022-05-25 06:16:03 -07:00
2022-06-10 12:22:46 -07:00
2023-01-24 15:26:52 -08:00
2022-10-03 08:36:47 -07:00
2022-10-03 08:36:47 -07:00
2022-06-28 16:11:49 -07:00
2022-05-12 12:50:03 -07:00