All Projects → eriklindernoren → Fast Neural Style Transfer

eriklindernoren / Fast Neural Style Transfer

Licence: mit
Fast Neural Style Transfer in Pytorch

Programming Languages

python
139335 projects - #7 most used programming language

Fast Neural Style Transfer in PyTorch

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

I have made some trained models available here.

Train

python3 train.py  --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 test_on_video.py  --video_path <path-to-video> \
                          --checkpoint_model <path-to-checkpoint> \

Test on Image

python3 test_on_image.py  --image_path <path-to-image> \
                          --checkpoint_model <path-to-checkpoint> \
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].