GC-Font
A few-shot font generator with a global contextual feature module between content encoder and decoder.
Diffusion and generative · 361 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 9.3M
- Operations
- 361
- Framework
- PyTorch
- Recurrent
- No
- Published
- BMVC 2025
- Authors
- Weiran Chen, Guiqian Zhu, Ying Li and others
- Source
- GitHub: wrchen2001/GC-Font
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16820
- Graph hash
- 014f100e702e2d1097b945fde11b39793241086136497cfa8ecfb366eb75dd0c
- Skeleton hash
- 5e0c84e25705a9430f28a0022e085b64957e83c01cbaedcd517fc2875305d174
- Architecture hash
- 4ae273b79f3494c0e36047fec0f0f2602703e8a7902737ca1abde437da9803dc
- Diagram SHA-256
- d45d27f03b0c18f8cef39c0dc7f7991c47e1417499d0e3eca87008cb68b4520e
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
GC-Font is a few-shot font generation framework: it creates a new font's glyphs from a limited number of reference images. Its core is a Global Contextual Feature Modelling module, inserted between the content encoder and decoder, where it fuses convolution and attention mechanisms to process intermediate feature maps and injects enhanced global contextual features into the decoder.
The model also applies adaptive convolutions to the low-level content feature maps and adds a skeleton consistency loss and an edge consistency loss to improve geometric alignment. The paper reports that GC-Font outperforms the compared methods in both qualitative and quantitative evaluations on diverse font styles.
Key idea. GC-Font devises a Global Contextual Feature Modelling module combining convolution and an attention mechanism to augment the global contextual features used for font generation.
- gc-font
- few-shot font generation
- font generation
- glyph generation
- gcfm
- global contextual feature modelling
- style transfer
- chinese font
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{gcfont2025,
title = {GC-Font: Few-Shot Font Generation via Global Contextual Feature Modelling},
author = {Weiran Chen and Guiqian Zhu and Ying Li and Yi Ji and Chunping Liu},
year = {2025},
journal = {BMVC 2025}
}