eli2014 commented on issue #12403: roi_align.cc bug? URL: https://github.com/apache/incubator-mxnet/issues/12403#issuecomment-417207407 Besides, #line 63-65 const T yy = roi_start_h + ph * bin_size_h + static_cast<T>(iy + .5f) * bin_size_h / static_cast<T>(roi_bin_grid_h); should be = roi_start_h + ph * bin_size_h + static_cast<T>(iy ) * bin_size_h / static_cast<T>(roi_bin_grid_h); #line 67-69 const T xx = roi_start_w + pw * bin_size_w + static_cast<T>(ix + .5f) * bin_size_w / static_cast<T>(roi_bin_grid_w); should be const T xx = roi_start_w + pw * bin_size_w + static_cast<T>(ix) * bin_size_w / static_cast<T>(roi_bin_grid_w);
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
