SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.19507 · ECCV · 2024

WeCromCL: Weakly Supervised Cross-Modality Contrastive Learning for Transcription-only Supervised Text Spotting

Wenjie Pei, Chengquan Zhang, Pengyuan Lyu, Guangming Lu, Fanglin Chen, Jingjing Wu, Zhengyao Fang

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2407.19507.json · badge: /api/ran/2407.19507.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
ZhengyaoFang/WeCromCL marked official in Papers with Code
Papers with Code archive
7 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
AttentionPool2d_text_as_query Ran
ran on a synthesized input · constructed an object; no result was computed
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("e5366d67a673e8a0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BiFPN Ran
ran on a synthesized input · constructed an object; no result was computed
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("bbe572b0398d293e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DeformableTransformerEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("992ac4a7af311b77")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MSDeformAttn Ran
ran on a synthesized input · constructed an object; no result was computed
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("05b9a47ccafbfbbb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PositionalEncoding2D Ran
ran on a synthesized input
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("54fc7a4215b66788")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_get_clones Ran
ran; our contract draft was wrong, not the code
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("3b56bcda10bf41fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from bowang-lab/shape-attentive-unet
pointer only · get_code("dbcb53696bc43ef9")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3_bn_relu Ran
ran; our contract draft was wrong, not the code
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("fca7e85d958618dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DeformableTransformerEncoderLayer Not yet run
unverified (harvested, no recorded run)
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("41dddcf79472d123")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Feature_encoder Not yet run
unverified (harvested, no recorded run)
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("f5040579df9ccf04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

WeCromCL Not yet run
unverified (harvested, no recorded run)
ZhengyaoFang/WeCromCL/models/wecromcl.py
pointer only (licence: NONE) · get_code("6cafbbf3a6c3a81c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhengyaoFang/WeCromCL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 4 later) and 5 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
_get_clones
brick of this paper's assembly: helper
73 other papers
61 dated earlier, 1 the same month, 11 later · 59 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
2005.12872 (2020-05)
End-to-End Object Detection with Transformers
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
and 70 more not named here
conv3x3
brick of this paper's assembly: helper
7 other papers
7 dated earlier
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
1807.11590 (2018-07)
Acquisition of Localization Confidence for Accurate Object Detection
and 4 more not named here
MSDeformAttn
brick of this paper's assembly: helper
6 other papers
4 dated earlier, 2 later
2010.04159 (2020-10)
Deformable DETR: Deformable Transformers for End-to-End Object Detection
2103.11161 (2021-03)
MonteFloor: Extending MCTS for Reconstructing Accurate Large-Scale Floor Plans
2209.02242 (2022-09)
PTSEFormer: Progressive Temporal-Spatial Enhanced TransFormer Towards Video Object Detection
and 3 more not named here
DeformableTransformerEncoder
brick of this paper's assembly: model
5 other papers
4 dated earlier, 1 later · 1 only as an assembly brick
2103.11161 (2021-03)
MonteFloor: Extending MCTS for Reconstructing Accurate Large-Scale Floor Plans
2204.01918 (2022-04)
Text Spotting Transformers
2209.02242 (2022-09)
PTSEFormer: Progressive Temporal-Spatial Enhanced TransFormer Towards Video Object Detection
and 2 more not named here
DeformableTransformerEncoderLayer
brick of this paper's assembly: helper
5 other papers
4 dated earlier, 1 later
2103.11161 (2021-03)
MonteFloor: Extending MCTS for Reconstructing Accurate Large-Scale Floor Plans
2204.01918 (2022-04)
Text Spotting Transformers
2209.02242 (2022-09)
PTSEFormer: Progressive Temporal-Spatial Enhanced TransFormer Towards Video Object Detection
and 2 more not named here
conv3x3_bn_relu
brick of this paper's assembly: helper
3 other papers
3 dated earlier
1810.04650 (2018-10)
Multi-Task Learning as Multi-Objective Optimization
2206.01934 (2022-06)
Stochastic Multiple Target Sampling Gradient Descent
2211.11208 (2022-11)
Next3D: Generative Neural Texture Rasterization for 3D-Aware Head Avatars

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

Transcription-only Supervised Text Spotting aims to learn text spotters relying only on transcriptions but no text boundaries for supervision, thus eliminating expensive boundary annotation. The crux of this task lies in locating each transcription in scene text images without location annotations. In this work, we formulate this challenging problem as a Weakly Supervised Cross-modality Contrastive Learning problem, and design a simple yet effective model dubbed WeCromCL that is able to detect each transcription in a scene image in a weakly supervised manner. Unlike typical methods for cross-modality contrastive learning that focus on modeling the holistic semantic correlation between an entire image and a text description, our WeCromCL conducts atomistic contrastive learning to model the character-wise appearance consistency between a text transcription and its correlated region in a scene image to detect an anchor point for the transcription in a weakly supervised manner. The detected anchor points by WeCromCL are further used as pseudo location labels to guide the learning of text spotting. Extensive experiments on four challenging benchmarks demonstrate the superior performance of our model over other methods. Code will be released.

For agents

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

get_harvested_code_for_paper("2407.19507")
get_code_for_paper("2407.19507")
have("2407.19507")

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

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

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

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

Connect an agent — have() is free.