szagoruyko / imagine-nn

IMAGINE torch neural network routines
Other
109 stars 35 forks source link

Handle the case when idx exceeds img boundary #4

Closed jhjin closed 9 years ago

jhjin commented 9 years ago

SpatialAverage(Max)Pooling gives incorrect numbers on the boundary of the image when the input image has a remainder while computing output.

szagoruyko commented 9 years ago

cool, thanks!