You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 beinghend = 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?
The text was updated successfully, but these errors were encountered: