In this articleootnote{https://debuggercafe.com/reducing-image-distortion-using-spatial-transformer-network/}, we will learn how we can reduce distortion in images using the Spatial Transformer Network (STN) using the PyTorch deep learning library. Figure 1 shows the results of applying STN to the distorted MNIST dataset. After applying STN to the distorted images, we can see that the images spatially more plausible and readable. If you are new to the topic of Spatial Transformer Networks, t...