falseu commited on
Commit
fd1065b
·
1 Parent(s): bae955a

update readme

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -1,6 +1,6 @@
1
  2022-AdaIN-pytorch
2
  ============================
3
- This is an unofficial Pytorch implementation of the paper, `Style Transfer with Adaptive Instance Normalization` [arxiv](https://arxiv.org/abs/1703.06868). I referred to the [official implementation](https://github.com/xunhuang1995/AdaIN-style) in Torch. I used pretrained weights for vgg19 and decoder from [naoto0804](https://github.com/naoto0804/pytorch-AdaIN).
4
 
5
  Requirements
6
  ----------------------------
@@ -41,9 +41,9 @@ optional arguments:
41
 
42
  ### Test Image Style Transfer
43
 
44
- 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 main folder.
45
 
46
- To test basic style transfer, run the script test_image.py. Specify `--content_image` or `--style_img` to the image path. Specify `--content_dir` or `--style_dir` to iterate all images under this directory. Specify `--grid_pth` to collect all outputs in a grid image.
47
 
48
  ```
49
  $ python test.py --content_image $IMG --style_image $STYLE --cuda
 
1
  2022-AdaIN-pytorch
2
  ============================
3
+ This is an unofficial Pytorch implementation of the paper, `Style Transfer with Adaptive Instance Normalization` [arxiv](https://arxiv.org/abs/1703.06868). I referred to the [official implementation](https://github.com/xunhuang1995/AdaIN-style) in Torch. I used pretrained weights of vgg19 and decoder from [naoto0804](https://github.com/naoto0804/pytorch-AdaIN).
4
 
5
  Requirements
6
  ----------------------------
 
41
 
42
  ### Test Image Style Transfer
43
 
44
+ 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.
45
 
46
+ 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. Specify `--grid_pth` to collect all outputs in a grid image.
47
 
48
  ```
49
  $ python test.py --content_image $IMG --style_image $STYLE --cuda