• Fu-Chen Chen's avatar
    fix bug when checking for invalid bounding boxes · de0829f1
    Fu-Chen Chen authored
    Summary:
    The dict `record` might not have keys `"width"` or `"height"`.
    This diff check if `"width"` and `"height"` are in the dict `record` before getting the values.
    
    Reviewed By: sstsai-adl
    
    Differential Revision: D29243341
    
    fbshipit-source-id: a1e0e343dd1afcced834c3732e64bb6f372fbd1a
    de0829f1
extended_coco.py 13.2 KB