Merge NMS update
This commit is contained in:
@@ -564,6 +564,7 @@ def non_max_suppression(prediction, conf_thres=0.1, iou_thres=0.6, multi_label=T
|
|||||||
i = iou.max(0)[0] < iou_thres
|
i = iou.max(0)[0] < iou_thres
|
||||||
|
|
||||||
output[xi] = x[i]
|
output[xi] = x[i]
|
||||||
|
return output
|
||||||
|
|
||||||
|
|
||||||
def get_yolo_layers(model):
|
def get_yolo_layers(model):
|
||||||
|
|||||||
Reference in New Issue
Block a user