使用yolo系列算法时报错zero-size array to reduction operation maximum which has no identity

出现zero-size array to reduction operation maximum which has no identity的问题在于标签不匹配
解决方案:进行标签归一化即可

你可能感兴趣的:(python,目标检测)