DG-Font icon indicating copy to clipboard operation
DG-Font copied to clipboard

Use DG-Font to generate a lots of new images with a few images?

Open dagongji10 opened this issue 3 years ago • 8 comments

@ecnuycxie If I use 400 fonts to train DG-Font. In the inference stage, I write 20 character images and save them as 80*80 .png. Can I input the 20 images as style-image, and generate other 3735 Chinese characters with my writting style? How can I do this?

dagongji10 avatar Nov 09 '21 10:11 dagongji10

This is a few-shot generation problem. You can use a pre-trained model (using 400 fonts) to achieve it. Specifically, you can create a new folder named "id_401" to store your handwriting style images.

ecnuycxie avatar Nov 10 '21 03:11 ecnuycxie

This is a few-shot generation problem. You can use a pre-trained model (using 400 fonts) to achieve it. Specifically, you can create a new folder named "id_401" to store your handwriting style images.

OK, I will have a try, Thanks!

dagongji10 avatar Nov 10 '21 03:11 dagongji10

@ecnuycxie As you said, I can generate new images now. But the result seems not always fine. 111 I use Song as the content image, and write chinese image as style image. Sometimes the stroke will be drop. How to solve this problem?

dagongji10 avatar Nov 23 '21 08:11 dagongji10

Try to use KAI as source font.

ecnuycxie avatar Nov 25 '21 08:11 ecnuycxie

@ecnuycxie 正如你所说,我现在可以生成新图像。但结果似乎并不总是好的。 我用宋作为内容形象,把中文形象写成风格形象。有时中风会下降。 如何解决这个问题呢? 111

Hello, how is this generated

shujian2 avatar Feb 21 '22 04:02 shujian2

If I use 400 fonts to train DG-Font. In the inference stage, I write 20 character images and save them as 80*80 .png. Can I input the 20 images as style-image, and generate other 3735 Chinese characters with my writting style? How can I do this?

Hello,I use 400 fonts to train DG-Font. In the inference stage, I write 20 character images and save them as 80*80 .png. Can I input the 20 images as style-image, and generate other 3735 Chinese characters with my writting style? How can I do this? Can you help me?

jingmingtao avatar Mar 10 '23 07:03 jingmingtao

Hello, how do you generate personal style font from song style in this picture!!! very grateful for you!!

666pz avatar Sep 11 '23 08:09 666pz

@ecnuycxie As you said, I can generate new images now. But the result seems not always fine. 111 I use Song as the content image, and write chinese image as style image. Sometimes the stroke will be drop. How to solve this problem?

你好,我觉得你训练的结果很不错,能够看出手写字体的不规整特征(而非印刷体);我这边训练的问题是,生成的字体总是很像某种印刷体或者很规整的钢笔字。请问你的训练集包含哪些样式的字体呢?

TomSuen avatar Jan 11 '24 07:01 TomSuen