Skip to content
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@eriklindernoren @panpan2
45 lines (33 sloc) 1.18 KB

Fast Neural Style Transfer in PyTorch

PyTorch implementation of Fast Neural Style Transfer (official Lua implementation).

I have made some trained models available here.


python3  --dataset_path <path-to-dataset> \
                  --style_image <path-to-style-image> \
                  --epochs 1 \
                  --batch_size 4 \
                  --image_size 256

Figure: Training progress over the first 10,000 batches.

Test on Video

python3  --video_path <path-to-video> \
                          --checkpoint_model <path-to-checkpoint> \

Test on Image

python3  --image_path <path-to-image> \
                          --checkpoint_model <path-to-checkpoint> \
You can’t perform that action at this time.