fix yolo bug

This commit is contained in:
shuaiqing 2023-07-19 14:00:31 +08:00
parent 0815e2e53d
commit f6ea450543

View File

@ -90,7 +90,7 @@ class BaseYOLOv5:
select = np.stack(select)
return select, results
def select_bbox(self, select, imgname):
def select_bbox(self, select, results, imgname):
if select.shape[0] == 0:
return select
# Naive: select the best