scorevision: push artifact
Browse files31 unmodified lines32333435353637383940414142434431 unmodified lines # validator output order class_names = ["balaclava", "hoodie", "glove", "bat", "spray paint", "graffiti"] input_size = 1280 iou_thres = 0.40 iou_thres = 0.30 cross_iou_thresh = 0.70 max_aspect_ratio = 10.0 max_det = 150 # tuned on consensus-GT, healthy distribution: [balaclava, hoodie, glove, bat, spray, graffiti] _conf_thres_array = np.array( [0.60, 0.70, 0.70, 0.80, 0.50, 0.20], dtype=np.float32 [0.30, 0.70, 0.70, 0.50, 0.50, 0.40], dtype=np.float32 ) # per-class rescue gap: if a class has no box above threshold, admit top-1 # if its score >= (threshold - bonus). Inspired by new-vmodel0's _bonus_array.miner.py+2-2