oarriaga / STN.keras

Implementation of spatial transformer networks (STNs) in keras 2 with tensorflow as backend.
MIT License
278 stars 75 forks source link

Fixed bilinear interpolation got width and height reversed #10

Closed fishhf closed 5 years ago

fishhf commented 5 years ago

Hello, I was trying out your STN implementation on images that aren't square, and it wasn't cropping the them properly. Looks like you got the width and height reversed on some code :)