【发布时间】:2021-02-19 09:50:31
【问题描述】:
我已经针对不同的 train-val 拆分训练了我的 YOLO 模型 5 次。 5折交叉验证。然后每次我在测试数据上运行它以进行预测。
有多个类。
预测输出具有这种格式。我有五个。
image,class1,confidence1,boundingbox1(xmin ymin xmax ymax),class2,confidence2,boundingbox2(xmin ymin xmax ymax), etc
a 0 0.3 1064 759 1325 1007 3 0.7 801 1176 1822 1597
b 3 0.3 1024 722 1549 1130
c 9 0.7 979 1028 1213 1348 7 0.8 637 1640 1497 1920
.
.
.
现在我想将这些组合成一个输出预测。
有没有通用的方法来做到这一点? 有谁知道如何解决这个问题?
应该可以用这个:
但是当你有许多相同图像的边界框时,我不知道该怎么做。
【问题讨论】:
标签: python deep-learning object-detection cross-validation yolo