# Disentangling Writer and Character Styles for Handwriting Generation ## Introduction 本篇論文主要針對中文手寫生成做優化 主要的概念在中文字並不是每個字都會用一樣的寫法 例如 ![](https://hackmd.io/_uploads/HykTpo2Hn.png) 所以本篇論文解離兩種style並用contrastive learning的方式來train它 1. writer-wise styles 2. characterwise styles 所以並不會產出不同style的手寫字,但是更會注意不同字的細節 ## Method ![](https://hackmd.io/_uploads/HkQhyh2B2.png) Writer loss就是找postive和negative pair 來train ![](https://hackmd.io/_uploads/Hk1SH2hr2.png) glyph loss 用patch的方式來找postive和negative pair 來train ![](https://hackmd.io/_uploads/SJgnUch2r3.png) ![](https://hackmd.io/_uploads/rykaB23Sh.png) * pen moving prediction loss 真低看不太懂,有人可以解釋的嗎 * pen state classification loss 分類pan-down pan-up pan-end三種狀況 ![](https://hackmd.io/_uploads/SJLQ53hSn.png)