mahyarnajibi / SNIPER

SNIPER / AutoFocus is an efficient multi-scale object detection training / inference algorithm
Other
2.69k stars 450 forks source link

seems 'chip_counter += 1' should be outside if len(neg_props_in_chips[chip_counter]) > 25 ... #149

Open qingchenwuhou opened 5 years ago

qingchenwuhou commented 5 years ago

in lib/data_utils/data_workers.py: line: 514 it seems that: 'chip_counter += 1' should be outside "if len(neg_props_in_chips[chip_counter]) > 25 ...", In my understanding, when if condition is not satisfied, chip_counter does not change, and error comes.

bharatsingh430 commented 5 years ago

i see, seems like a problem. Did you test to check to see if fixes the problem?

qingchenwuhou commented 5 years ago

@bharatsingh430 I only found this bug, but have not test the impact on evaluation result.