#139 · Primary category: Image Generation
zi2zi
Learning Chinese Character style with conditional GAN
Project last updated:08/09/19
GitHub Stars
2.7K
Forks
475
Contributors
3
License
Apache-2.0
Why we included this project
Designing a full typeface is slow work, and for script styles like calligraphy or cursive it is effectively impossible to do by hand. zi2zi treats the problem as a conditional GAN: you give it a character in a standard font, and it draws that same character in the target style. A category embedding lets a single trained model switch between several styles, and beyond the baseline pix2pix setup it borrows AC-GAN's category loss and DTN's constant loss. The label-shuffling trick, enabled after the discriminator loss flattens, forces the model to keep generalizing and handles characters it never saw in training noticeably better. The author's write-up includes network diagrams and side-by-side gallery comparisons, which makes it a useful reference even though the codebase dates from 2017 and was built for research rather than ongoing production use.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
stable-diffusion-webui
Stable Diffusion web UI
ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
upscayl
🆙 Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.
InvokeAI
InvokeAI is a leading open-source creative engine for Stable Diffusion, offering an industry-leading web UI for generating and editing visual media.