Skip to content

Commit 69f3f36

Browse files
authored
Style (#799)
* upload the style transfer project * fixed bugs of image_resampling.py * add .gitignore * add .gitignore * Update README.md * yapf * codact * reformat code * add folders for users * change example imaes, add alpha args in test.py * update readme * fix format issue * add changelog
1 parent 4c4a756 commit 69f3f36

File tree

17 files changed

+20
-15
lines changed

17 files changed

+20
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ To release a new version, please update the changelog as followed:
9999
- add `tutorial_quanconv_cifar10.py` and `tutorial_quanconv_mnist.py` (PR #735)
100100
- add `tutorial_work_with_onnx.py`(PR #775)
101101
- Examples:
102-
- [Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization](https://arxiv.org/abs/1703.06868) (PR #796)
102+
- [Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization](https://arxiv.org/abs/1703.06868) (PR #799)
103103

104104
### Changed
105105

example/adaptive_style_transfer/README.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,40 @@ Here are some result images (Left to Right: Content , Style , Result):
1717

1818
<div align="center">
1919
<img src="./images/content/content_1.png" width=250 height=250>
20-
<img src="./images/style/style_1.png" width=250 height=250>
21-
<img src="./images/output/style_1_content_1.jpg" width=250 height=250>
20+
<img src="./images/style/style_5.png" width=250 height=250>
21+
<img src="./images/output/style_5_content_1.jpg" width=250 height=250>
2222
</div>
2323

2424

2525
<div align="center">
2626
<img src="./images/content/content_2.png" width=250 height=250>
27-
<img src="./images/style/style_2.png" width=250 height=250>
28-
<img src="./images/output/style_2_content_2.jpg" width=250 height=250>
27+
<img src="./images/style/style11.png" width=250 height=250>
28+
<img src="./images/output/style_11_content2.png" width=250 height=250>
2929
</div>
3030

31-
3231
<div align="center">
33-
<img src="./images/content/content_3.png" width=250 height=250>
34-
<img src="./images/style/style_3.png" width=250 height=250>
35-
<img src="./images/output/style_3_content_3.jpg" width=250 height=250>
32+
<img src="./images/content/chicago.jpg" width=250 height=250>
33+
<img src="./images/style/cat.jpg" width=250 height=250>
34+
<img src="./images/output/cat_chicago.jpg" width=250 height=250>
3635
</div>
3736

3837

3938

39+
<div align="center">
40+
<img src="./images/content/lance.jpg" width=250 height=250>
41+
<img src="./images/style/lion.jpg" width=250 height=250>
42+
<img src="./images/output/lion_lance.jpg" width=250 height=250>
43+
</div>
4044
<div align="center">
4145
<img src="./images/content/content_4.png" width=250 height=250>
42-
<img src="./images/style/style_4.png" width=250 height=250>
43-
<img src="./images/output/style_4_content_4.jpg" width=250 height=250>
46+
<img src="./images/style/style_6.png" width=250 height=250>
47+
<img src="./images/output/style_6_content_4.jpg" width=250 height=250>
4448
</div>
4549

4650
<div align="center">
47-
<img src="./images/content/content_1.png" width=250 height=250>
48-
<img src="./images/style/style_6.png" width=250 height=250>
49-
<img src="./images/output/style_6_content_1.jpg" width=250 height=250>
51+
<img src="./images/content/lance.jpg" width=250 height=250>
52+
<img src="./images/style/udnie.jpg" width=250 height=250>
53+
<img src="./images/output/udnie_lance.jpg" width=250 height=250>
5054
</div>
5155

5256
Enjoy!
135 KB
Loading
186 KB
Loading
204 KB
Loading
4.4 MB
Loading
77.9 KB
Loading
343 KB
Loading
303 KB
Loading
175 KB
Loading

0 commit comments

Comments
 (0)