ecnuycxie / DG-Font

The pytorch implementation of DG-Font: Deformable Generative Networks for Unsupervised Font Generation
220 stars 48 forks source link

question about few-shot generation #72

Open haooxia opened 1 year ago

haooxia commented 1 year ago

May I ask if your current code is unable to achieve few-shot font style transfer? Because in the validation.py, I only see that it references the style of a single character(i want to reference 10+ chars of a style). https://github.com/ecnuycxie/DG-Font/blob/b9368fd2527a42714742786a47d3bff08b8a96c8/validation/validation.py#L76

So if I want to perform few-shot generation based on large-scale training and using 10+ style reference characters, how should I proceed? Should i add a few-shot font group during training, or can i fine-tune it later?

Thanks very much!

itsbvk commented 1 year ago

yes. dg-font is a one-to-one style transfer. it does not take few shot.