yolo2_light icon indicating copy to clipboard operation
yolo2_light copied to clipboard

get_distribution() has a problem about the negative weight value

Open haithink opened this issue 5 years ago • 0 comments

if (fabs(cur_range) <= w && w < fabs(cur_range * 2))

if w is negative, then this condition would never be satisfied, so I think this line of code should be change to if (fabs(cur_range) <= fabs(w) && fabs(w) < fabs(cur_range * 2))

haithink avatar May 11 '19 08:05 haithink