avBuffer / Yolov5_tf

Yolov5/Yolov4/ Yolov3/ Yolo_tiny in tensorflow
290 stars 108 forks source link

utils.py:268: RuntimeWarning: invalid value encountered in greater #16

Open xiaocheng2 opened 3 years ago

xiaocheng2 commented 3 years ago

Hi man, I am using yolov4 and running demo.py has the following problems: utils.py:268: RuntimeWarning: invalid value encountered in greater invalid_mask = np.logical_or((pred_coor[:, 0] > pred_coor[:, 2]), (pred_coor[:, 1] > pred_coor[:, 3])) May I ask how is this going?

xiaocheng2 commented 3 years ago

This problem occurs when I use the pd file converted by yolov4.weights. I will not have this problem when I use my own train.