changed README.md
Browse files
README.md
CHANGED
|
@@ -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.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
|
|
@@ -66,12 +66,12 @@ optional arguments:
|
|
| 66 |
--grid_pth GRID_PTH
|
| 67 |
Specify a grid image path (default=None) if generate a grid image
|
| 68 |
that contains all style transferred images
|
| 69 |
-
--color_control Preserve content color
|
| 70 |
```
|
| 71 |
|
| 72 |
### Test Image Interpolation Style Transfer
|
| 73 |
|
| 74 |
-
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.
|
| 75 |
|
| 76 |
```
|
| 77 |
|
|
@@ -96,7 +96,7 @@ optional arguments:
|
|
| 96 |
transfer multiple times with different built-in weights and generate a
|
| 97 |
grid image that contains all style transferred images. Provide 4 style
|
| 98 |
images. Do not specify if input interpolation_weights.
|
| 99 |
-
--color_control Preserve content color
|
| 100 |
```
|
| 101 |
|
| 102 |
### Test Video Style Transfer
|
|
@@ -116,7 +116,7 @@ optional arguments:
|
|
| 116 |
--alpha {Alpha Range}
|
| 117 |
Alpha [0.0, 1.0] controls style transfer level
|
| 118 |
--cuda Use CUDA
|
| 119 |
-
--color_control Preserve content color
|
| 120 |
```
|
| 121 |
|
| 122 |
## Examples
|
|
|
|
| 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. Specify `--color_control` to preserve the content image color.
|
| 48 |
|
| 49 |
```
|
| 50 |
$ python test.py --content_image $IMG --style_image $STYLE --cuda
|
|
|
|
| 66 |
--grid_pth GRID_PTH
|
| 67 |
Specify a grid image path (default=None) if generate a grid image
|
| 68 |
that contains all style transferred images
|
| 69 |
+
--color_control Preserve content image color
|
| 70 |
```
|
| 71 |
|
| 72 |
### Test Image Interpolation Style Transfer
|
| 73 |
|
| 74 |
+
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. Specify `--color_control` to preserve the content image color.
|
| 75 |
|
| 76 |
```
|
| 77 |
|
|
|
|
| 96 |
transfer multiple times with different built-in weights and generate a
|
| 97 |
grid image that contains all style transferred images. Provide 4 style
|
| 98 |
images. Do not specify if input interpolation_weights.
|
| 99 |
+
--color_control Preserve content image color
|
| 100 |
```
|
| 101 |
|
| 102 |
### Test Video Style Transfer
|
|
|
|
| 116 |
--alpha {Alpha Range}
|
| 117 |
Alpha [0.0, 1.0] controls style transfer level
|
| 118 |
--cuda Use CUDA
|
| 119 |
+
--color_control Preserve content image color
|
| 120 |
```
|
| 121 |
|
| 122 |
## Examples
|