SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.05675 · 2022

NTIRE 2022 Challenge on Efficient Super-Resolution: Methods and Results

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 6 failures of our instrument; 4 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/2205.05675.json · badge: /api/ran/2205.05675.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
ofsoundof/imdn canonical (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
ofsoundof/ntire2022_esr canonical (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
FunctionStatusWhere it lives
conv Ran
ran; our contract draft was wrong, not the code
ofsoundof/imdn/models/basicblock.py
code served (permissive licence) · get_code("0bb3503f833a6f8e")
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) and returned Sequential. 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 collections import OrderedDict

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 64,
    'kernel_size': 3,
    'stride': 1,
    'padding': 1,
    'bias': True,
    'mode': 'CBR',
    'negative_slope': 0.2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
forward Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ofsoundof/ntire2022_esr/test_demo.py
code served (permissive licence) · get_code("db062f082a870142")
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) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 64, 80) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 minimal model that takes an image tensor and outputs a scaled version
class SimpleUpscaler(nn.Module):
    def __init__(self, scale=4):
        super().__init__()
        self.scale = scale
    
    def forward(self, x):
        # x shape: (b, c, h, w)
        # output shape: (b, c, h*scale, w*scale)
        b, c, h, w = x.size()
        # Simple upscaling by repeating
        output = x.repeat_interleave(self.scale, dim=2).repeat_interleave(self.scale, dim=3)
        return output

# Create a small input tensor (batch=2, channels=3, height=16, width=20)
img_lq = torch.randn(2, 3, 16, 20)

# Create the model
model = SimpleUpscaler(scale=4)

# Define all arguments
ARGS = {
    'img_lq': img_lq,
    'model': model,
    'tile': 8,
    'tile_overlap': 2,
    'scale': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 64, 80) — shape (2, 3, 64, 80) as a later run recorded it
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: none by the harness; any seed is in the setup block
get_model_activation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ofsoundof/imdn/utils/model_summary.py
code served (permissive licence) · get_code("655c5a47348526ad")
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 tuple, ndim 1, dtype family int; 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 torch.nn as nn

torch.manual_seed(0)

# Create a simple model with Conv2d, ConvTranspose2d, Conv1d, Linear layers
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv2d = nn.Conv2d(3, 16, kernel_size=3, padding=1)
        self.conv_transpose2d = nn.ConvTranspose2d(16, 8, kernel_size=3, padding=1)
        self.conv1d = nn.Conv1d(8, 4, kernel_size=3, padding=1)
        self.linear = nn.Linear(4, 2)
    
    def forward(self, x):
        # x shape: (batch, 3, height, width)
        x = self.conv2d(x)  # (batch, 16, height, width)
        x = self.conv_transpose2d(x)  # (batch, 8, height, width)
        # Reshape for conv1d
        batch_size, channels, h, w = x.shape
        x = x.view(batch_size, channels, -1)  # (batch, 8, h*w)
        x = self.conv1d(x)  # (batch, 4, h*w)
        # Global average pooling
        x = x.mean(dim=2)  # (batch, 4)
        x = self.linear(x)  # (batch, 2)
        return x

model = SimpleModel()

# input_res should be (channels, height, width)
input_res = (3, 4, 5)

# input_constructor is optional, set to None to use default behavior
input_constructor = None

ARGS = {
    "model": model,
    "input_res": input_res,
    "input_constructor": input_constructor,
}
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 tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
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: none by the harness; any seed is in the setup block
is_image_file Ran
ran, violated the contract we drafted
ofsoundof/imdn/utils/utils_image.py
pointer only (licence: MIT); the stored copy get_code serves, from sgoldyaev/DeepFashion.ADGAN, is pointer only (licence: NONE) · get_code("ab4109634b75ef8b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from sgoldyaev/DeepFashion.ADGAN, and GitHub detected no licence in that repository 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.

pixel_unshuffle Ran
ran; our contract draft was wrong, not the code
ofsoundof/imdn/models/basicblock.py
pointer only (licence: MIT); the stored copy get_code serves, from claroche-r/fastdiffusionem, is pointer only (licence: NONE) · get_code("e84da58ba9736585")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from claroche-r/fastdiffusionem, and GitHub detected no licence in that repository 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.

read_img Ran
ran on a synthesized input
ofsoundof/imdn/utils/utils_image.py
code served (permissive licence) · get_code("2d5193a49edc8787")
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 ndarray, ndim 3, dtype family float, shape (4, 3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
import cv2
import tempfile
import os

# Create a temporary test image file
temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_image.png")

# Create a simple test image: 4x3 RGB image
test_img = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
cv2.imwrite(test_image_path, test_img)

ARGS = {
    "path": test_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 3, 3) — shape (4, 3, 3) as a later run recorded it
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: none by the harness; any seed is in the setup block
select_dataset Ran
ran; our contract draft was wrong, not the code
ofsoundof/ntire2022_esr/test_demo.py
code served (permissive licence) · get_code("3cbde6a5a9683734")
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) and returned list, ndim 2, 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 os.path
import tempfile

# Create a temporary directory to act as data_dir
data_dir = tempfile.mkdtemp()

# Define ARGS with all parameters for select_dataset
ARGS = {
    'data_dir': data_dir,
    'mode': 'test'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
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: none by the harness; any seed is in the setup block
upsample_pixelshuffle Ran
ran; our contract draft was wrong, not the code
ofsoundof/imdn/models/basicblock.py
pointer only (licence: MIT); the stored copy get_code serves, from qcf-568/ostf, is pointer only (licence: NONE) · get_code("1e826b826044c581")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from qcf-568/ostf, and GitHub detected no licence in that repository 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_image_paths Not yet run
unverified (harvested, no recorded run)
ofsoundof/imdn/utils/utils_image.py
code served (permissive licence) · get_code("f7c097a7aced711b")
How it ran

no invocation recorded.

get_model_complexity_info Not yet run
unverified (harvested, no recorded run)
ofsoundof/imdn/utils/model_summary.py
pointer only (licence: MIT); the stored copy get_code serves, from guanys-dar/mgdn, is pointer only (licence: NONE) · get_code("6ef91108ba92f025")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from guanys-dar/mgdn, and GitHub detected no licence in that repository 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.

get_model_flops Not yet run
unverified (harvested, no recorded run)
ofsoundof/imdn/utils/model_summary.py
pointer only (licence: MIT); the stored copy get_code serves, from guanys-dar/mgdn, is pointer only (licence: NONE) · get_code("e39e724b057d5bec")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from guanys-dar/mgdn, and GitHub detected no licence in that repository 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.

select_model Not yet run
unverified (harvested, no recorded run)
ofsoundof/ntire2022_esr/test_demo.py
code served (permissive licence) · get_code("fa6d35e1f431f8a9")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 9 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 9 later) and 3 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
is_image_file 62 other papers
25 dated earlier, 1 the same month, 34 later, 2 same year, order not determinable
1609.04802 (2016-09)
Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
1703.07511 (2017-03)
Deep Photo Style Transfer
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
and 59 more not named here
pixel_unshuffle 10 other papers
3 dated earlier, 7 later
2008.13751 (2020-08)
Plug-and-Play Image Restoration with Deep Denoiser Prior
2110.03220 (2021-10)
Gradient Step Denoiser for convergent Plug-and-Play
2204.07114 (2022-04)
Look Back and Forth: Video Super-Resolution with Explicit Temporal Difference Modeling
and 7 more not named here
upsample_pixelshuffle 10 other papers
3 dated earlier, 7 later
2008.13751 (2020-08)
Plug-and-Play Image Restoration with Deep Denoiser Prior
2109.14573 (2021-09)
Towards Flexible Blind JPEG Artifacts Removal
2110.03220 (2021-10)
Gradient Step Denoiser for convergent Plug-and-Play
and 7 more not named here
conv 9 other papers
3 dated earlier, 6 later
2008.13751 (2020-08)
Plug-and-Play Image Restoration with Deep Denoiser Prior
2109.14573 (2021-09)
Towards Flexible Blind JPEG Artifacts Removal
2203.05568 (2022-03)
Unfolded Deep Kernel Estimation for Blind Image Super-resolution
and 6 more not named here
get_image_paths 7 other papers
2 dated earlier, 5 later
2009.11551 (2020-09)
Residual Feature Distillation Network for Lightweight Image Super-Resolution
2103.14006 (2021-03)
Designing a Practical Degradation Model for Deep Blind Image Super-Resolution
2303.00748 (2023-03)
Efficient and Explicit Modelling of Image Hierarchies for Image Restoration
and 4 more not named here
get_model_activation 4 other papers
4 later
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2211.05910 (2022-11)
Efficient and Accurate Quantized Image Super-Resolution on Mobile NPUs, Mobile AI & AIM 2022 challenge: Report
2303.09472 (2023-03)
DiffIR: Efficient Diffusion Model for Image Restoration
and 1 more not named here
get_model_complexity_info 4 other papers
4 later
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2211.05910 (2022-11)
Efficient and Accurate Quantized Image Super-Resolution on Mobile NPUs, Mobile AI & AIM 2022 challenge: Report
2303.09472 (2023-03)
DiffIR: Efficient Diffusion Model for Image Restoration
and 1 more not named here
get_model_flops 4 other papers
1 dated earlier, 3 later
2201.06776 (2022-01)
Pruning-aware Sparse Regularization for Network Pruning
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.09472 (2023-03)
DiffIR: Efficient Diffusion Model for Image Restoration
and 1 more not named here
read_img 1 other paper
1 later
aaai_25291 (2023 (year only))
Robust Image Denoising of No-Flash Images Guided by Consistent Flash Images

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

This paper reviews the NTIRE 2022 challenge on efficient single image super-resolution with focus on the proposed solutions and results. The task of the challenge was to super-resolve an input image with a magnification factor of $\times$4 based on pairs of low and corresponding high resolution images. The aim was to design a network for single image super-resolution that achieved improvement of efficiency measured according to several metrics including runtime, parameters, FLOPs, activations, and memory consumption while at least maintaining the PSNR of 29.00dB on DIV2K validation set. IMDN is set as the baseline for efficiency measurement. The challenge had 3 tracks including the main track (runtime), sub-track one (model complexity), and sub-track two (overall performance). In the main track, the practical runtime performance of the submissions was evaluated. The rank of the teams were determined directly by the absolute value of the average runtime on the validation set and test set. In sub-track one, the number of parameters and FLOPs were considered. And the individual rankings of the two metrics were summed up to determine a final ranking in this track. In sub-track two, all of the five metrics mentioned in the description of the challenge including runtime, parameter count, FLOPs, activations, and memory consumption were considered. Similar to sub-track one, the rankings of five metrics were summed up to determine a final ranking. The challenge had 303 registered participants, and 43 teams made valid submissions. They gauge the state-of-the-art in efficient single image super-resolution.

For agents

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

get_harvested_code_for_paper("2205.05675")
get_code_for_paper("2205.05675")
have("2205.05675")

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

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

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

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

Connect an agent — have() is free.