咲川宇瑞:up我想问一下,我是跟着做的,为什么会出现这个error呢?说是类型错误
Traceback (most recent call last):
File "E:\AiHack\AiHack\game-plug-in\function\object_detection.py", line 79, in <module>
pred = non_max_suppression(pred, conf_thres, iou_thres, max_det=1000)
File "E:\AiHack\AiHack\utils\general.py", line 910, in non_max_suppression
xc = prediction【..., 4】 > conf_thres # candidates
TypeError: '>' not supported between instances of 'Tensor' and 'tuple'