# Neural-Style-Transfer **Repository Path**: corgile/Neural-Style-Transfer ## Basic Information - **Project Name**: Neural-Style-Transfer - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-08 - **Last Updated**: 2021-04-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 \ ```