pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.82k stars 21.33k forks source link

box.c diou if(i <= 0 || 1) { #199

Open StevenTAbell opened 7 years ago

StevenTAbell commented 7 years ago

This line appears to be equivalent to if (TRUE) {. If so, most of the work done by this function is wasted.

shaleh commented 7 years ago

And diou is only called by test_box which is only referenced in examples/darknet.c but is commented out. So neither diou or test_box is actually demonstrated to be functioning.....

StevenTAbell commented 7 years ago

Great. Thanks.