MasaTate commited on
Commit
20803d9
·
2 Parent(s): cfa18c8 07167e3

Merge branch 'main' into main

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -4,7 +4,7 @@ This is an unofficial Pytorch implementation of the paper, `Arbitrary Style Tran
4
 
5
  Requirements
6
  ----------------------------
7
- Install requirements by `$ pip install -r requirement.txt`
8
 
9
  * Python 3.7+
10
  * PyTorch 1.10
@@ -44,7 +44,7 @@ optional arguments:
44
 
45
  Download [vgg19 weight](https://drive.google.com/file/d/1UcSl-Zn3byEmn15NIPXMf9zaGCKc2gfx/view?usp=sharing), [decoder weight](https://drive.google.com/file/d/18JpLtMOapA-vwBz-LRomyTl24A9GwhTF/view?usp=sharing) under the main directory.
46
 
47
- To test basic style transfer, run the script test_image.py. Specify `--content_image`, `--style_img` to the image path, or specify `--content_dir`, `--style_dir` to iterate all images under this directory. All outputs are saved in `./results/`. Specify `--grid_pth` to collect all outputs in a grid image.
48
 
49
  ```
50
  $ python test.py --content_image $IMG --style_image $STYLE --cuda
@@ -73,8 +73,10 @@ optional arguments:
73
  To test style transfer interpolation, run the script test_interpolate.py. Specify `--style_image` with multiple paths separated by comma. Specify `--interpolation_weights` to interpolate once. All outputs are saved in `./results_interpolate/`. Specify `--grid_pth` to interpolate with different built-in weights and provide 4 style images.
74
 
75
  ```
 
76
  $ python test_interpolate.py --content_image $IMG --style_image $STYLE $WEIGHT --cuda
77
 
 
78
  optional arguments:
79
  -h, --help show this help message and exit
80
  --content_image CONTENT_IMAGE
 
4
 
5
  Requirements
6
  ----------------------------
7
+ Install requirements by `$ pip install -r requirements.txt`
8
 
9
  * Python 3.7+
10
  * PyTorch 1.10
 
44
 
45
  Download [vgg19 weight](https://drive.google.com/file/d/1UcSl-Zn3byEmn15NIPXMf9zaGCKc2gfx/view?usp=sharing), [decoder weight](https://drive.google.com/file/d/18JpLtMOapA-vwBz-LRomyTl24A9GwhTF/view?usp=sharing) under the main directory.
46
 
47
+ To test basic style transfer, run the script test.py. Specify `--content_image`, `--style_image` to the image path, or specify `--content_dir`, `--style_dir` to iterate all images under this directory. All outputs are saved in `./results/`. Specify `--grid_pth` to collect all outputs in a grid image.
48
 
49
  ```
50
  $ python test.py --content_image $IMG --style_image $STYLE --cuda
 
73
  To test style transfer interpolation, run the script test_interpolate.py. Specify `--style_image` with multiple paths separated by comma. Specify `--interpolation_weights` to interpolate once. All outputs are saved in `./results_interpolate/`. Specify `--grid_pth` to interpolate with different built-in weights and provide 4 style images.
74
 
75
  ```
76
+
77
  $ python test_interpolate.py --content_image $IMG --style_image $STYLE $WEIGHT --cuda
78
 
79
+
80
  optional arguments:
81
  -h, --help show this help message and exit
82
  --content_image CONTENT_IMAGE