I was about to calculate the average IOU of each epoch, and I found out some strange value. So I just check the results of bounding boxes and I found out some of them are having a negative right or bottom value, which does not make sense at all.
Then I check the code, and the code was like
top = max(0, np.floor(top + 0.5).astype('int32'))
left = max(0, np.floor(left + 0.5).astype('int32'))
bottom = min(image.size[1], np.floor(bottom + 0.5).astype('int32'))
right = min(image.size[0], np.floor(right + 0.5).astype('int32'))
in yolo.py
It looks like there's no limitation to keep the bottom or right in positive, which is weird.
Could somebody explain it to me??
I was about to calculate the average IOU of each epoch, and I found out some strange value. So I just check the results of bounding boxes and I found out some of them are having a negative right or bottom value, which does not make sense at all.
Then I check the code, and the code was like
in
yolo.py
It looks like there's no limitation to keep the bottom or right in positive, which is weird. Could somebody explain it to me??