For example, 

x = mx.nd.array([[[[  0.,   1.,   2.,   3.,   4.,   5.],
                             [  6.,   7.,   8.,   9.,  10.,  11.],
                            [ 12.,  13.,  14.,  15.,  16.,  17.],
                            [ 18.,  19.,  20.,  21.,  22.,  23.],
                            [ 24.,  25.,  26.,  27.,  28.,  29.],
                            [ 30.,  31.,  32.,  33.,  34.,  35.],
                            [ 36.,  37.,  38.,  39.,  40.,  41.],
                            [ 42.,  43.,  44.,  45.,  46.,  47.]]]])
y = mx.nd.array([[0,0,0,3,3]])
mx.nd.ROIAlign(x, y, (2, 2), 0.7) should be:
                   
   [[[[3,5, 5.5],
     [15.5, 17.5]]]]

while the output is:
  [[[[5.25, 6.75],
     [14.25, 15.75]]]]



[ Full content available at: 
https://github.com/apache/incubator-mxnet/issues/12403 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to