Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added GPU flag in README.
Fixed yusuketomoto#47
  • Loading branch information
vermapratyush committed Aug 27, 2016
1 parent fdcb730 commit 4ea115f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ sh setup_model.sh
Need to train one image transformation network model per one style target.
According to the paper, the models are trained on the [Microsoft COCO dataset](http://mscoco.org/dataset/#download).
```
python train.py -s <style_image_path> -d <training_dataset_path> -g 0
python train.py -s <style_image_path> -d <training_dataset_path> -g <use_gpu ? gpu_id : -1>
```

## Generate
```
python generate.py <input_image_path> -m <model_path> -o <output_image_path>
python generate.py <input_image_path> -m <model_path> -o <output_image_path> -g <use_gpu ? gpu_id : -1>
```

This repo has pretrained models as an example.
Expand Down

0 comments on commit 4ea115f

Please sign in to comment.