You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this error happened when your image does not include any detected object.
I solved this error by adding below code to line 156: if len(det_boxes_r_) < 1: continue
Hope it solve your problem..
在demo_rh_pyramid.py中的157行如下面代码:
det_boxes_r_ = forward_convert(det_boxes_r_, False)
det_boxes_r_[:, 0::2] *= (w_len / ss)
det_boxes_r_[:, 1::2] *= (h_len / ss)
det_boxes_r_ = back_forward_convert(det_boxes_r_, False)
有时会报IndexError: too many indices for array,查看有时为空。当用if做排除后还会出现此错误,请指教一下。如果方便的话可以给下微信?谢谢了
The text was updated successfully, but these errors were encountered: