Upload a content image and a style painting. The neural network transfers the artistic style in real-time using AdaIN.
Built by Tejas M · PyTorch · Flask
Three-step pipeline powered by Adaptive Instance Normalization
Both images pass through a pre-trained VGG-19 encoder that extracts deep feature representations — capturing structure from the content and texture patterns from the style.
The content features are normalized to match the mean and variance of the style features. This single operation aligns the statistical distribution — transferring style in feature space.
A trained decoder network inverts the AdaIN output back to pixel space, producing the final stylized image. The alpha slider controls how much style is blended in.
Content + Style → Stylized Output
Common questions about this project