All Projects → changebo → Hccg Cyclegan

changebo / Hccg Cyclegan

Handwritten Chinese Characters Generation

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to Hccg Cyclegan

Ganspace
Discovering Interpretable GAN Controls [NeurIPS 2020]
Stars: ✭ 1,224 (+964.35%)
Mutual labels:  gan, generative-adversarial-network
Gpnd
Generative Probabilistic Novelty Detection with Adversarial Autoencoders
Stars: ✭ 112 (-2.61%)
Mutual labels:  gan, generative-adversarial-network
Calogan
Generative Adversarial Networks for High Energy Physics extended to a multi-layer calorimeter simulation
Stars: ✭ 87 (-24.35%)
Mutual labels:  gan, generative-adversarial-network
Pacgan
[NeurIPS 2018] [JSAIT] PacGAN: The power of two samples in generative adversarial networks
Stars: ✭ 67 (-41.74%)
Mutual labels:  gan, generative-adversarial-network
Lggan
[CVPR 2020] Local Class-Specific and Global Image-Level Generative Adversarial Networks for Semantic-Guided Scene Generation
Stars: ✭ 97 (-15.65%)
Mutual labels:  gan, generative-adversarial-network
Dcgan Tensorflow
A Tensorflow implementation of Deep Convolutional Generative Adversarial Networks trained on Fashion-MNIST, CIFAR-10, etc.
Stars: ✭ 70 (-39.13%)
Mutual labels:  gan, generative-adversarial-network
Sprint gan
Privacy-preserving generative deep neural networks support clinical data sharing
Stars: ✭ 92 (-20%)
Mutual labels:  gan, generative-adversarial-network
Cyclegan Tensorflow
An implementation of CycleGan using TensorFlow
Stars: ✭ 1,096 (+853.04%)
Mutual labels:  gan, generative-adversarial-network
Exermote
Using Machine Learning to predict the type of exercise from movement data
Stars: ✭ 108 (-6.09%)
Mutual labels:  gan, generative-adversarial-network
Tagan
An official PyTorch implementation of the paper "Text-Adaptive Generative Adversarial Networks: Manipulating Images with Natural Language", NeurIPS 2018
Stars: ✭ 97 (-15.65%)
Mutual labels:  gan, generative-adversarial-network
Pix2pix
Image-to-image translation with conditional adversarial nets
Stars: ✭ 8,765 (+7521.74%)
Mutual labels:  gan, generative-adversarial-network
Spectralnormalizationkeras
Spectral Normalization for Keras Dense and Convolution Layers
Stars: ✭ 100 (-13.04%)
Mutual labels:  gan, generative-adversarial-network
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-48.7%)
Mutual labels:  gan, generative-adversarial-network
Pytorch Fid
Compute FID scores with PyTorch.
Stars: ✭ 1,175 (+921.74%)
Mutual labels:  gan, generative-adversarial-network
Hypergan
Composable GAN framework with api and user interface
Stars: ✭ 1,104 (+860%)
Mutual labels:  gan, generative-adversarial-network
Specgan
SpecGAN - generate audio with adversarial training
Stars: ✭ 92 (-20%)
Mutual labels:  gan, generative-adversarial-network
Gandlf
Generative Adversarial Networks in Keras
Stars: ✭ 46 (-60%)
Mutual labels:  gan, generative-adversarial-network
Acgan Pytorch
Pytorch implementation of Conditional Image Synthesis with Auxiliary Classifier GANs
Stars: ✭ 57 (-50.43%)
Mutual labels:  gan, generative-adversarial-network
Doppelganger
[IMC 2020 (Best Paper Finalist)] Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions
Stars: ✭ 97 (-15.65%)
Mutual labels:  gan, generative-adversarial-network
Lsd Seg
Learning from Synthetic Data: Addressing Domain Shift for Semantic Segmentation
Stars: ✭ 99 (-13.91%)
Mutual labels:  gan, generative-adversarial-network

HCCG-CycleGAN

Generating Handwritten Chinese Characters using CycleGAN
Bo Chang*, Qiong Zhang*, Shenyi Pan, Lili Meng
WACV 2018.

Abstract

Handwriting of Chinese has long been an important skill in East Asia. However, automatic generation of handwritten Chinese characters poses a great challenge due to the large number of characters. Various machine learning techniques have been used to recognize Chinese characters, but few works have studied the handwritten Chinese character generation problem, especially with unpaired training data. In this work, we formulate the Chinese handwritten character generation as a problem that learns a mapping from an existing printed font to a personalized handwritten style. We further propose DenseNet CycleGAN to generate Chinese handwritten characters. Our method is applied not only to commonly used Chinese characters but also to calligraphy work with aesthetic values. Furthermore, we propose content accuracy and style discrepancy as the evaluation metrics to assess the quality of the handwritten characters generated. We then use our proposed metrics to evaluate the generated characters from CASIA dataset as well as our newly introduced Lanting calligraphy dataset.

Requirement

Python 2.7

Preprocess handwritting database

The gnt files in CASIA HWDB1.1 database can be downloaded here.

python preprocess/preprocess_hw.py fonts/1252-c.gnt fonts/simhei.ttf 0.1 0.1 

Both the gnt file for the handwritten data and the ttf/otf file for the source font need to be under the fonts folder. The last two number represents for the split ratio of the training and test data.

DenseCycleGAN

Usage

  • Training
cd DenseCycleGAN
DATA_ROOT=./datasets/1252-c-0.1-0.1 name=1252-c-dense5 which_model_netG=densenet_5blocks th train.lua
  • Testing
DATA_ROOT=./datasets/1252-c-0.1-0.1 name=1252-c-dense5 phase=test th test.lua

Supported which_model_netG in training

  • resnet_6blocks
  • resnet_9blocks
  • densenet_5blocks
  • densenet_6blocks
  • densenet_7blocks
  • densenet_8blocks

BibTeX

@inproceedings{chang2018generating, 
  title={Generating Handwritten Chinese Characters Using CycleGAN}, 
  author={Chang, Bo and Zhang, Qiong and Pan, Shenyi and Meng, Lili}, 
  booktitle={IEEE Winter Conference on Applications of Computer Vision}, 
  year={2018} 
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].