read "bbox_mode" from annotation when filtering out images with invalid bbox
Summary: Some annotations are using XYXY_ABS for bbox mode so that many images were incorrectly filtered out by assuming XYWH_ABS mode. This diff read bbox_mode from annotation and convert bbox to XYWH_ABS before checking invalid bbox. Differential Revision: D29365700 fbshipit-source-id: 355346b6826f401f504691090631997e169ead4a
Showing
Please register or sign in to comment