Awesome
Parametrized-brushstroke Image Style Transfer
This is a Pytorch implementation of the paper "Rethinking Style Transfer: From Pixels to Parameterized Brushstrokes".
<p align='center'> <img src='assets/elefant-girl-on-a-divan_1000_0.jpg' height="300px"> <img src='assets/golden-gate-bridge-starry_night_1000_0.jpg' height="300px"> <img src='assets/road-picasso_1000_0.jpg' height="300px"> </p>Prerequisites
Pytorch (>= 1.8 (required))
Neural monitor (For logging)
Running the code
python main.py /path/to/content/image /path/to/style/image
Type python main.py
to see all available options.
Similarities/differences to the official implementation
Similarities
- The renderer and the initialization schemes are no-brainer adaptations from the official repo.
- The training schemes (including learning rates and optimizers) are the same.
- The visual results look largely similar.
Differences
- Some minor details regarding the style losses are different.