Closed YuCosine closed 6 years ago
If coordinates of bounding boxes are all integers, jaccard will return 0. After adding astype('float32') in line 49, the problem is solved.
Maybe this happens only in python2. I am using python 2.7, and it works well after the change.
If coordinates of bounding boxes are all integers, jaccard will return 0. After adding astype('float32') in line 49, the problem is solved.