Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eriklindernoren/Fast-Neural-Style-Transfer

Fast Neural Style Transfer in Pytorch
https://github.com/eriklindernoren/Fast-Neural-Style-Transfer

Last synced: 7 days ago
JSON representation

Fast Neural Style Transfer in Pytorch

Awesome Lists containing this project

README

        

# Fast Neural Style Transfer in PyTorch



PyTorch implementation of [Fast Neural Style Transfer](https://cs.stanford.edu/people/jcjohns/eccv16/) ([official Lua implementation](https://github.com/jcjohnson/fast-neural-style)).

I have made some trained models available [here](https://drive.google.com/drive/folders/1aRD6zakhcDImN2Y54qAT6f4801iLcCLB?usp=sharing).

## Train

```
python3 train.py --dataset_path \
--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 \
--checkpoint_model \
```



## Test on Image

```
python3 test_on_image.py --image_path \
--checkpoint_model \
```