Unsupervised Typography Transfer
1.0.0
請參閱https://zhuanlan.zhihu.com/p/31619824
或https://arxiv.org/abs/1802.02595有關詳細信息
安裝Python3(> = 3.5)
將兩個字體(notosanscjk.ttc,notoserifcjk.ttc)放在./fonts文件夾下。
在Shell中鍵入以下命令:
pip3 install --user -r requirements.txt
如果您有支持CUDA的GPU,請在requirements.txt中用tensorflow-gpu替換tensorflow
跑步
make sample
在項目的根目錄下。
跑步
python3 train.py
在訓練模型時,打開一個新標籤和類型
tensorboard --logdir ./board
代碼來自:
網絡體系結構來自以下方式:
Apache 2.0