News for hackers. Stuff that matters.
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by lioeters on Friday April 07, 2017 @08:59PM (#14064632)
The animated interpolations between fonts are wonderful to look at, and really demonstrate the flexibility and legibility of the generated characters.

I've heard that the font selection for Chinese/Japanese is limited due to the sheer number of characters, and this kind of smart style-transfer could be a solution for expanding the range of fonts. Amazing work, thank you for sharing!

Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by joshvm on Friday April 07, 2017 @05:26PM (#14063634)
Could this be used to generate simple missing characters in Western fonts too? For example many nice fonts are missing Greek letters (useful for science), punctuation or diacritics.
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by kaonashi-tyc-01 on Friday April 07, 2017 @05:35PM (#14063684)
Should have no problem since this model works end-2-end, so only images are required. However, one worry is that the number of glphys for western language is significant smaller than eastern Asian languages, the styles to model might be a lot more than the demonstrated case here which will lead to an explosive size of discriminator, so some structure change might need to take place before applying to western alphabet
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by kem on Friday April 07, 2017 @11:13PM (#14065090)
Funny, I had the exact same question, and spent the last hour or so looking into it before I saw your question.

In something I've been writing lately, I've wanted to be able to use certain typefaces, but they lack mathematical symbols or characters. It's something I run into repeatedly. Earlier today, before I saw this post, I was thinking maybe I should just add them, because they're open source, but then when I saw this I wondered "could you just do this with an autoencoder or AN or whatever?" It seems very doable. There are typefaces with them; the issue is creating the missing characters for the typefaces that don't have them, but have other characters.

Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by yongjik on Friday April 07, 2017 @08:40PM (#14064553)
For some reason the generated Korean characters look adorably old-fashioned. Maybe the model is generated from old-fashioned Chinese fonts, or maybe the slight mismatch of strokes evokes the air of old days when everything was done by hand.

Also it's impressive that the model mostly does a good job of handling circles (which must be totally absent in Chinese characters).

Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by k_sze on Friday April 07, 2017 @10:06PM (#14064870)
This is not actually calligraphy (yet). It's just typeface style transfer, which is an probably an important step towards calligraphy.

To be really calligraphy, you would need to train a NN that controls a robotic arm holding a brush.

But to be fair, this work is still Pretty. Fucking. Awesome.

Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by jason_slack on Friday April 07, 2017 @08:18PM (#14064475)
Nice. Thank you for sharing. I'm using OpenAI for something related to recognizing handwriting.

As someone learning Mandarin, I would love to know where you found these characters and their meanings. I love to study old characters.

Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by Pamar on Saturday April 08, 2017 @06:52AM (#14066334)
Are you familiar with "Uncle Hanzi"? (http://www.chineseetymology.org/CharacterEtymology.aspx?char...)

I study ShoDo, if you can be a bit more specific about what you are looking for I can maybe provide some more pointers.

Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by dnautics on Friday April 07, 2017 @08:40PM (#14064557)
it is neat to see the ML struggle with the circle glyph component from hangeul; which doesn't exist in kanji (although it seems to handle hiragana, which it's trained on) fairly well.
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by smashed on Friday April 07, 2017 @11:36PM (#14065155)
Just a heads-up because some other people might tell you: In my locale, Zizi means penis (fr-CA)
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by kaonashi-tyc-01 on Saturday April 08, 2017 @12:36AM (#14065335)
Well, that is just rate R. Let's hail the wonderful ambiguity of languages, and leave the day as it is :)
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by xinyzhang9 on Friday April 07, 2017 @04:46PM (#14063365)
Great job for Chinese culture lovers.
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by mrcactu5 on Friday April 07, 2017 @04:37PM (#14063319)
can this help people who are trying to learn Hanzi of any kind, not just calligraphy?
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by kaonashi-tyc-01 on Friday April 07, 2017 @04:58PM (#14063459)
Hi, author here. This project might not really help people that just get to know Chinese characters. Quite on the contrary, it aims to help typographic designers who can design a small subset of characters(like 2k out of 40k), then automatically, if the model works well, get the rest of it.
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by dnautics on Friday April 07, 2017 @08:48PM (#14064590)
hey awesome work! in row 8, leftmost column, we see the "food" radical being laid out using different radical conventions on the ground truth versus the generated (IIRC, the lhs is simplified and the rhs is traditional?). Elsewhere we see the "thread" radical being rendered in simplified vs chinese traditional (but not japanese shinjitai). Have you done any deeper examination of the activation network to see if there's any sort of correspondence for some of these characters?
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by kaonashi-tyc-01 on Friday April 07, 2017 @09:04PM (#14064649)
The source font I am using might have not 100% consistent with some of the target font, that leads to minor mode collapse. I think that is the reason here.
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by dnautics on Friday April 07, 2017 @10:15PM (#14064902)
it would be cool if there was an activation that consistently flipped between traditional and simplified!
Re:Zi2zi: Master Chinese Calligraphy with Conditional Advers... by mengwei on Friday April 07, 2017 @05:05PM (#14063505)
Nicely done!