• Jonathan Huang's avatar
    Fixes two bugs when handling verified_neg_classes and not_exhaustive_classes... · 33cca6c3
    Jonathan Huang authored
    Fixes two bugs when handling verified_neg_classes and not_exhaustive_classes fields for LVIS evaluation:
    (1) Before, if one of these fields was empty, the input pipeline would default to an all-ones representation; this CL turns out off this behavior for the LVIS-specific classes.
    (2) Labels are now 1-indexed coming out of the _prepare_groundtruth_for_eval function in model_lib (as they should be).
    
    PiperOrigin-RevId: 340357845
    33cca6c3
model_lib.py 46.4 KB