aybora / yolov5Loss

29 stars 2 forks source link

problem calling bbox_iou #3

Closed SV1367 closed 1 year ago

SV1367 commented 2 years ago

File "/home/sergio/Programming/yolov5-ultralytics/utils/loss.py", line 161, in call iou = bbox_iou(pbox.T, tbox[i], x1y1x2y2=False, CIoU=True) # iou(prediction, target) TypeError: bbox_iou() got an unexpected keyword argument 'x1y1x2y2'

I am using yolov5 version: 6-1.322

aybora commented 2 years ago

Please use this release.

SV1367 commented 2 years ago

Thanks. I have used git checkout tags/v6.0 -b newbranch It is training now