mirror of
https://gitee.com/nanjing-yimao-information/ieemoo-ai-gift.git
synced 2025-08-19 22:00:25 +00:00
测试代码
This commit is contained in:
@ -389,7 +389,7 @@ class ConfusionMatrix:
|
||||
cls = detect_cur_cpu[5]
|
||||
c = int(cls)
|
||||
label = f'{names[c]} {conf:.2f} iou:{float(iou):.2f}'
|
||||
print(">>>>>>>>>>>>>>>>>>> label: {} C: {}".format(label, c))
|
||||
# print(">>>>>>>>>>>>>>>>>>> label: {} C: {}".format(label, c))
|
||||
if fp_flag:
|
||||
annotator.box_label(xyxy, label, color=(125, 0, 125)) ##fp iou匹配上,类别错误 紫色框
|
||||
else:
|
||||
|
Reference in New Issue
Block a user