未验证 提交 bc720d7e 编写于 作者: B Bubbliiiing 提交者: GitHub

Update get_dr_txt.py

上级 6d3d5213
......@@ -46,7 +46,7 @@ class mAP_Yolo(YOLO):
output = torch.cat(output_list, 1)
batch_detections = non_max_suppression(output, len(self.class_names),
conf_thres=self.confidence,
nms_thres=0.3)
nms_thres=self.iou)
try:
batch_detections = batch_detections[0].cpu().numpy()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册