SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.14153 · ICCV · 2023

Sparse Sampling Transformer with Uncertainty-Driven Ranking for Unified Removal of Raindrops and Rain Streaks

Lei Zhu, Tian Ye, Jinbin Bai, Jun Shi, Sixiang Chen, Erkang Chen

arXiv · PDF · Open in the Atlas

Code that ran

11 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 4 failures of our instrument; 6 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/2308.14153.json · badge: /api/ran/2308.14153.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
Ephemeral182/UDR-S2Former_deraining marked official in Papers with Code
Papers with Code archive
9 ran · 6 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("e505e5b4c6c05324")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

CALayer Ran
ran on a synthesized input · constructed an object; no result was computed
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("0c94ca3829ffbf2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Local_Reconstruction Ran
ran on a synthesized input · constructed an object; no result was computed
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("f2cb8865abc71d7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

MFFN Ran
ran on a synthesized input
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("a66a16cc66d05c73")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Refine Ran
ran on a synthesized input · constructed an object; no result was computed
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("808687d27e8153df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Refine_Block Ran
ran on a synthesized input · constructed an object; no result was computed
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("3295f55d5d3d8a9d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

SALayer Ran
ran on a synthesized input · constructed an object; no result was computed
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("97d59e71977a3409")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

_to_channel_first Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("b1d0826f40fc7925")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

_to_channel_last Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("9cac1208ec415f9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from ephemeral182/snowformer
pointer only; the stored copy get_code serves, from ephemeral182/snowformer, is pointer only (licence: NONE) · get_code("dd907925970ddfba")
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.

window_reverse Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from ephemeral182/snowformer
pointer only; the stored copy get_code serves, from ephemeral182/snowformer, is pointer only (licence: NONE) · get_code("f4c2cb74d3356bc2")
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.

Reconstruction_Module Not yet run
unverified (harvested, no recorded run)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("289066a83594258a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Reconstruction_Module_layer Not yet run
unverified (harvested, no recorded run)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("29783b729413c6df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Refine_stage Not yet run
unverified (harvested, no recorded run)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("28975d206a409582")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

SparseSamplingAttention Not yet run
unverified (harvested, no recorded run)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("c73433459c1cc399")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Transformer Not yet run
unverified (harvested, no recorded run)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("28f73f8883f04c99")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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.

Transformer_block Not yet run
unverified (harvested, no recorded run)
Ephemeral182/UDR-S2Former_deraining/UDR_S2Former.py
pointer only (licence: NONE) · get_code("f633af10438188ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ephemeral182/UDR-S2Former_deraining 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 2 the same month, 2 later) and 7 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
window_reverse
brick of this paper's assembly: helper
227 other papers
105 dated earlier, 6 the same month, 107 later, 9 same year, order not determinable · 34 only as an assembly brick
1608.03983 (2016-08)
SGDR: Stochastic Gradient Descent with Warm Restarts
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 224 more not named here
window_partition
brick of this paper's assembly: helper
223 other papers
100 dated earlier, 7 the same month, 107 later, 9 same year, order not determinable · 32 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 220 more not named here
_to_channel_first
brick of this paper's assembly: helper
2 other papers
2 dated earlier · 1 only as an assembly brick
2206.09959 (2022-06)
Global Context Vision Transformers
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
_to_channel_last
brick of this paper's assembly: helper
2 other papers
2 dated earlier · 1 only as an assembly brick
2206.09959 (2022-06)
Global Context Vision Transformers
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
Attention
brick of this paper's assembly: model
1 other paper
1 dated earlier · 1 only as an assembly brick
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
CALayer
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
MFFN
brick of this paper's assembly: model
1 other paper
1 dated earlier · 1 only as an assembly brick
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
Refine
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
Refine_Block
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
SALayer
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2208.09703 (2022-08)
SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing

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

In the real world, image degradations caused by rain often exhibit a combination of rain streaks and raindrops, thereby increasing the challenges of recovering the underlying clean image. Note that the rain streaks and raindrops have diverse shapes, sizes, and locations in the captured image, and thus modeling the correlation relationship between irregular degradations caused by rain artifacts is a necessary prerequisite for image deraining. This paper aims to present an efficient and flexible mechanism to learn and model degradation relationships in a global view, thereby achieving a unified removal of intricate rain scenes. To do so, we propose a Sparse Sampling Transformer based on Uncertainty-Driven Ranking, dubbed UDR-S 2 Former. Compared to previous methods, our UDR-S 2 Former has three merits. First, it can adaptively sample relevant image degradation information to model underlying degradation relationships. Second, explicit application of the uncertainty-driven ranking strategy can facilitate the network to attend to degradation features and understand the reconstruction process. Finally, experimental results show that our UDR-S 2 Former clearly outperforms state-of-theart methods for all benchmarks.

For agents

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

get_harvested_code_for_paper("2308.14153")
get_code_for_paper("2308.14153")
have("2308.14153")

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

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

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

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

Connect an agent — have() is free.