baby.performance.calc_IoUs

baby.performance.calc_IoUs(true_segs, pred_segs, fill_holes=True)