SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.00827 · ICCV · 2023

Few shot font generation via transferring similarity guided global style and quantization local style

Wei Pan, Xinyu Zhou, Anna Zhu, Brian Kenji Iwana, Shilin Li

arXiv · PDF · Open in the Atlas

Code that ran

14 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (9 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 4 failures of our instrument; 6 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2309.00827.json · badge: /api/ran/2309.00827.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
awei669/VQ-Font marked official in Papers with Code
Papers with Code archive
14 ran · 6 no recorded run
FunctionStatusWhere it lives
CombMemory Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("2a39482d4753164c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, CombMemory: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# CombMemory.__init__ takes no parameters
ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CombMemory — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CombMemory output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ComponentAttentiomModule Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("71c7a04d62e507d5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ComponentAttentiomModule: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal ComponentAttentionModule
model = nn.Module()

# Create input tensors with distinct dimensions
# content_feature: (batch=2, channels=8, height=4, width=3)
content_feature = torch.randn(2, 8, 4, 3)

# components: (batch=2, num_components=5, channels=8)
components = torch.randn(2, 5, 8)

# style_components: (batch=2, num_components=5, channels=8)
style_components = torch.randn(2, 5, 8)

ARGS = {
    "num_heads": 2,
    "num_channels": 8,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ComponentAttentiomModule — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ComponentAttentiomModule output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ContentEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("6f8966274a44440a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ContentEncoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a simple sequential model for the layers parameter
layers = [
    nn.Linear(4, 8),
    nn.ReLU(),
    nn.Linear(8, 3)
]

ARGS = {
    "layers": layers,
    "sigmoid": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ContentEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ContentEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("2473ec6f9dc355ab")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ConvBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from functools import partial

torch.manual_seed(0)

ARGS = {
    'C_in': 3,
    'C_out': 16,
    'kernel_size': 3,
    'stride': 1,
    'padding': 1,
    'norm': 'bn',
    'activ': 'relu',
    'bias': True,
    'upsample': False,
    'downsample': False,
    'w_norm': 'none',
    'pad_type': 'zero',
    'dropout': 0.1,
    'size': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ConvBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConvBlock output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("a17d741f7612e43f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Decoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create small linear layers for the decoder
layer1 = nn.Linear(4, 8)
layer2 = nn.Linear(8, 4)

layers = [layer1, layer2]

ARGS = {
    'layers': layers,
    'skips': None,
    'out': 'sigmoid'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Decoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Decoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Get_style_components Ran
ran on a synthesized input
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("5e15b825d420a8be")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# INIT_ARGS for Get_style_components.__init__
INIT_ARGS = {
    'num_heads': 4,
    'num_channels': 16
}

# ARGS for Get_style_components.forward
# component_sequence: (B, N, C)
# reference_map_list: (B, K, C, H, W)

B = 2  # batch size
N = 5  # number of components
C = 16  # num_channels (must match INIT_ARGS['num_channels'])
K = 3  # number of reference maps
H = 7  # height
W = 9  # width

component_sequence = torch.randn(B, N, C)
reference_map_list = torch.randn(B, K, C, H, W)

ARGS = {
    'component_sequence': component_sequence,
    'reference_map_list': reference_map_list
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
einops, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Integrator Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("c14e6958f34825b9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Integrator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function parameters are: C, norm, activ, C_content, C_reference
# Looking at the forward method, we need:
# - comps: tensor of shape [B, C, H, W]
# - content: tensor of shape [B, C_content, H, W] (optional)
# - reference: tensor of shape [B, C_reference, H, W] (optional)

ARGS = {
    'C': 4,
    'norm': 'none',
    'activ': 'none',
    'C_content': 3,
    'C_reference': 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Integrator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Integrator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Memory Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("8aa95f8d6107478a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Memory: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The Memory class is an nn.Module with no __init__ parameters
# It only needs to be instantiated
memory_module = nn.Module()

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Memory — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Memory output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ReferenceEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("67f9da40971cc102")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ReferenceEncoder: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a small sequential model with a few layers
layers = [
    nn.Linear(4, 6),
    nn.ReLU(),
    nn.Linear(6, 5)
]

out_shape = (2, 5)
sigmoid = True

ARGS = {
    'layers': layers,
    'out_shape': out_shape,
    'sigmoid': sigmoid
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReferenceEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ReferenceEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ResBlock Ran
ran on a synthesized input · constructed an object; no result was computed
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("cc3471e8a4b12fd9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ResBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from functools import partial
import numpy as np

torch.manual_seed(0)

ARGS = {
    'C_in': 4,
    'C_out': 8,
    'kernel_size': 3,
    'padding': 1,
    'upsample': False,
    'downsample': False,
    'norm': 'none',
    'w_norm': 'none',
    'activ': 'relu',
    'pad_type': 'zero',
    'dropout': 0.0,
    'scale_var': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ResBlock output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
comp_enc_builder Ran
ran; our contract draft was wrong, not the code
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("3cdb5263748b9863")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ReferenceEncoder. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from functools import partial

torch.manual_seed(0)

ARGS = {
    'C_in': 3,
    'C': 16,
    'C_out': 32,
    'norm': 'none',
    'activ': 'relu',
    'pad_type': 'reflect',
    'skip_scale_var': False,
    'sigmoid': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReferenceEncoder — a ReferenceEncoder output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ReferenceEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
content_enc_builder Ran
ran; our contract draft was wrong, not the code
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("f3e23976ff6aa2b4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ContentEncoder. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from functools import partial

torch.manual_seed(0)

ARGS = {
    'C_in': 3,
    'C': 32,
    'C_out': 256,
    'norm': 'none',
    'activ': 'relu',
    'pad_type': 'reflect',
    'content_sigmoid': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ContentEncoder — a ContentEncoder output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ContentEncoder output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dispatcher Ran
ran; our contract draft was wrong, not the code
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("790a4be48cafa62e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

def sample_dispatch_fn(key, *args):
    """A simple dispatch function that returns based on key"""
    dispatch_table = {
        'none': lambda *a: "dispatched_none",
        'add': lambda *a: sum(a) if a else 0,
        'multiply': lambda *a: 1 if not a else a[0] * a[1] if len(a) > 1 else a[0],
    }
    return dispatch_table.get(key, lambda *a: f"default_{key}")(*args)

ARGS = {
    'dispatch_fn': sample_dispatch_fn,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
spectral_norm Ran
ran; our contract draft was wrong, not the code
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("e8ff56712f5536e3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Linear. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple linear module to pass to spectral_norm
module = nn.Linear(4, 3)

ARGS = {
    "module": module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Not yet run
unverified (harvested, no recorded run)
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("5e3adcaee1617921")
How it ran

no invocation recorded.

activ_dispatch Not yet run
unverified (harvested, no recorded run)
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("2485473d4c08af0a")
How it ran

no invocation recorded.

dec_builder Not yet run
unverified (harvested, no recorded run)
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("02206912d32f5f94")
How it ran

no invocation recorded.

norm_dispatch Not yet run
unverified (harvested, no recorded run)
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("4d790cc6e758867e")
How it ran

no invocation recorded.

pad_dispatch Not yet run
unverified (harvested, no recorded run)
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("ba17bd55a8d2146a")
How it ran

no invocation recorded.

w_norm_dispatch Not yet run
unverified (harvested, no recorded run)
awei669/VQ-Font/model/generator.py
code served (permissive licence) · get_code("940b095eee518c40")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
CombMemory
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1711.00937 (2017-11)
Neural Discrete Representation Learning
Memory
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1711.00937 (2017-11)
Neural Discrete Representation Learning
dispatcher
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2212.00785 (2022-12)
Learning to Generate Text-grounded Mask for Open-world Semantic Segmentation from Only Image-Text Pairs
spectral_norm
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2003.06221 (2020-03)
Semantic Pyramid for Image Generation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Automatic few-shot font generation (AFFG), aiming at generating new fonts with only a few glyph references, reduces the labor cost of manually designing fonts. However, the traditional AFFG paradigm of style-content disentanglement cannot capture the diverse local details of different fonts. So, many component-based approaches are proposed to tackle this problem. The issue with component-based approaches is that they usually require special pre-defined glyph components, e.g., strokes and radicals, which is infeasible for AFFG of different languages. In this paper, we present a novel font generation approach by aggregating styles from character similarity-guided global features and stylized component-level representations. We calculate the similarity scores of the target character and the referenced samples by measuring the distance along the corresponding channels from the content features, and assigning them as the weights for aggregating the global style features. To better capture the local styles, a cross-attention-based style transfer module is adopted to transfer the styles of reference glyphs to the components, where the components are selflearned discrete latent codes through vector quantization without manual definition. With these designs, our AFFG method could obtain a complete set of component-level style representations, and also control the global glyph characteristics. The experimental results reflect the effectiveness and generalization of the proposed method on different linguistic scripts, and also show its superiority when compared with other state-of-the-art methods. The source code can be found at https://github.com/awei669/VQ-Font.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2309.00827")
get_code_for_paper("2309.00827")
have("2309.00827")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2309.00827.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2309.00827.svg)](https://syntology.ai/paper/2309.00827)

Connect an agent — have() is free.