caffe-fast-rcnn icon indicating copy to clipboard operation
caffe-fast-rcnn copied to clipboard

Odd numbered pooling height and pooling width gives mismatch

Open Sentient07 opened this issue 8 years ago • 0 comments

I find an ambiguity in the way hstart, hend, wstart, wend are computed. When the pooling height and width are (3,3), the variable bin_size_h and bin_size_w are 2.667 (approximated to three places of decimal). Then, there are two ways of computing hend. One is the current way, the alternative way being hend = hstart + bin_size_h When we compute that way for the dimension that I have mentioned above, (For ph = 1 and roi_start_h = 0. ), hend = static_cast<int>(ceil(2.667)) + 2; This gives the output as 5 whereas, the current method of computing in the caffe repository gives the output as 6. Since its a square window, the same applies for width as well. Could someone please explain this discrepancy?

Sentient07 avatar Feb 24 '17 22:02 Sentient07