提交 db4495a5 编写于 作者: L LielinJiang

update README

上级 1d78f947
...@@ -289,9 +289,11 @@ ax3.imshow(image_restore(style)) ...@@ -289,9 +289,11 @@ ax3.imshow(image_restore(style))
上述可运行的代码都在[style-transfer.ipynb](./style-transfer.ipynb)中, 同时我们提供了[style-transfer.py](./style-transfer.py)脚本,可以直接执行如下命令,实现图片的风格迁移: 上述可运行的代码都在[style-transfer.ipynb](./style-transfer.ipynb)中, 同时我们提供了[style-transfer.py](./style-transfer.py)脚本,可以直接执行如下命令,实现图片的风格迁移:
```shell ```shell
python -u style-transfer.py --content-image /path/to/your-content-image --style-image /path/to/your-content-image --save-dir /path/to/your-output-dir python -u style-transfer.py --content-image /path/to/your-content-image --style-image /path/to/your-style-image --save-dir /path/to/your-output-dir
``` ```
风格迁移生成的图像保存在```--save-dir```中。
## 参考 ## 参考
[A Neural Algorithm of Artistic Style](https://arxiv.org/abs/1508.06576) [A Neural Algorithm of Artistic Style](https://arxiv.org/abs/1508.06576)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册