Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,21 @@ Example usage:
python main.py train \
--style ./path/to/style/image.jpg \
--dataset ./path/to/dataset \
--weights ./path/to/weights \
--weights ./path/to/weights \
--batch 2

##### Note: The vgg19 weights are downloaded on first run in ~/.keras/models/ .

##### Note: The training output is saved in project directory .

### Evaluating Style Transfer Networks
Use `main.py` to evaluate a style transfer network.
Evaluation takes 2s per frame(712x474) on a GTX 1060 3GB. **Models for evaluation are [located here.](https://drive.google.com/drive/folders/1-ywa__KcK4uEEYOzgfeRCpCzP3RJKBwL?usp=sharing)**

Example usage:

python main.py evaluate \
--weights ./path/to/weights \
--weights ./path/to/weights (use the .index file) \
--content ./path/to/content/image.jpg(video.mp4) \
--result ./path/to/save/results/image.jpg

Expand Down