My learning code for Neural Style Transfer which is greatly referenced to Pytorch Neural Style Transfer. In this repo also contains the paper A Neural Algorithm of Artistic Style which I hightlighted the text I deemed important. The paper can be downloaded here.
- dancing.jpg as content image
- picasso.jpg as style image
Using content image as input image
python main.py # use default setting
Image produced:
Using noise as input image
python .\main.py --use_noise True --content_weight 1 --num_steps 1000 --save_anim True --output_path 'images\output_img_from_noise.png'
Image produced: