SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.02977 · CVPR · 2022

Multi-Scale Memory-Based Video Deblurring

Bo Ji, Angela Yao

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 4 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/2204.02977.json · badge: /api/ran/2204.02977.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
jibo27/MemDeblur canonical (classifier label)
classifier basis not recorded on the link
10 ran · 3 no recorded run
FunctionStatusWhere it lives
L1 Ran
ran; our contract draft was wrong, not the code
jibo27/MemDeblur/train/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from xjtu-cvlab-lowlevel/rnn-mbp, is pointer only (licence: NONE) · get_code("308d7e741a6c1d7e")
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 xjtu-cvlab-lowlevel/rnn-mbp, 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.

MSE Ran
ran; our contract draft was wrong, not the code
jibo27/MemDeblur/train/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from xjtu-cvlab-lowlevel/rnn-mbp, is pointer only (licence: NONE) · get_code("4e215f323ed97be2")
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 xjtu-cvlab-lowlevel/rnn-mbp, 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
jibo27/MemDeblur/model/modules/modules.py
code served (permissive licence) · get_code("9bed061f167dd318")
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 Conv2d. 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)

ARGS = {
    "in_channels": 3,
    "out_channels": 64,
    "stride": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
conv3x3 Ran
ran on a synthesized input
jibo27/MemDeblur/model/modules/mod_resnet.py
code served (permissive licence) · get_code("e6540826b74b9e7b")
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 Conv2d. 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)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1,
    "dilation": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
estimate_mask Ran
ran on a synthesized input
jibo27/MemDeblur/train/metrics.py
code served (permissive licence) · get_code("c90830710f55ae42")
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 2, dtype family float, shape (2, 4) 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 numpy as np

# Analyze the function: estimate_mask takes img, calls .copy() on it, 
# uses indexing with boolean mask, and returns the result.
# This suggests img should be a numpy array or similar object with .copy() method.

# Create a small test image as a numpy array
img = np.array([
    [0.0, 0.5, 1.0, 0.0],
    [0.3, 0.0, 0.8, 0.2]
], dtype=np.float32)

ARGS = {
    "img": img
}
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 ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
feed Ran
ran, honoured the contract we drafted
jibo27/MemDeblur/model/memdeblur.py
pointer only (licence: MIT); the stored copy get_code serves, from xjtu-cvlab-lowlevel/rnn-mbp, is pointer only (licence: NONE) · get_code("ea472692c3b00532")
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 xjtu-cvlab-lowlevel/rnn-mbp, 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.

make_layer Ran
ran; our contract draft was wrong, not the code
jibo27/MemDeblur/model/modules/modules.py
pointer only (licence: MIT); the stored copy get_code serves, from JingyunLiang/RVRT, is pointer only (licence: NOASSERTION) · get_code("b80adc256b420252")
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 JingyunLiang/RVRT, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

mask_pair Ran
ran on a synthesized input
jibo27/MemDeblur/train/metrics.py
code served (permissive licence) · get_code("5d4474a3f13cb9f4")
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 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

torch.manual_seed(0)

# Create small tensors for x and y
x = torch.randn(2, 4)
y = torch.randn(2, 4)

# Create a mask tensor with same shape
mask = torch.randint(0, 2, (2, 4), dtype=torch.float32)

ARGS = {
    "x": x,
    "y": y,
    "mask": mask
}
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 3, dtype family float — 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
resnet50 Ran
ran on a synthesized input
jibo27/MemDeblur/model/modules/mod_resnet.py
code served (permissive licence) · get_code("e597f8d697954be5")
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 ResNet. 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)

# Create a minimal source state dict that resembles a pretrained ResNet50
# We'll create a state dict with the expected structure but smaller tensors
source_state = OrderedDict()

# conv1 layer - input 3 channels, output 64 channels
source_state['conv1.weight'] = torch.randn(64, 3, 7, 7)
source_state['bn1.weight'] = torch.randn(64)
source_state['bn1.bias'] = torch.randn(64)
source_state['bn1.running_mean'] = torch.randn(64)
source_state['bn1.running_var'] = torch.randn(64)

# Add a few layer weights to make it more realistic
for layer_idx in range(1, 5):
    for block_idx in range(3):
        prefix = f'layer{layer_idx}.{block_idx}'
        for conv_idx in [1, 2, 3]:
            source_state[f'{prefix}.conv{conv_idx}.weight'] = torch.randn(64, 64, 1, 1)
            source_state[f'{prefix}.bn{conv_idx}.weight'] = torch.randn(64)
            source_state[f'{prefix}.bn{conv_idx}.bias'] = torch.randn(64)
            source_state[f'{prefix}.bn{conv_idx}.running_mean'] = torch.randn(64)
            source_state[f'{prefix}.bn{conv_idx}.running_var'] = torch.randn(64)

ARGS = {
    'pretrained': False,
    'extra_chan': 0
}
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 ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
softmax_w_top Ran
ran on a synthesized input
jibo27/MemDeblur/model/memdeblur.py
code served (permissive licence) · get_code("f1d2168fd77fb338")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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

torch.manual_seed(0)

# Create a small tensor with shape (batch_size=2, features=4)
# The function uses:
# - x.shape[1] to get the feature dimension
# - torch.topk(x, k=top, dim=1) to get top k values and indices along dim 1
# - torch.softmax(values, dim=1) to compute softmax
# - x.zero_() to zero out the tensor in place
# - x.scatter_(1, indices, x_exp) to scatter values back
x = torch.randn(2, 4)

# top parameter: should be an integer, typically <= x.shape[1]
# Let's use top=3 (less than x.shape[1]=4 to test the min() logic)
top = 3

ARGS = {
    "x": x,
    "top": top,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
Perceptual Not yet run
unverified (harvested, no recorded run)
jibo27/MemDeblur/train/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from xjtu-cvlab-lowlevel/rnn-mbp, is pointer only (licence: NONE) · get_code("d5547b4f6d4c8ae9")
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 xjtu-cvlab-lowlevel/rnn-mbp, 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.

im2tensor Not yet run
unverified (harvested, no recorded run)
jibo27/MemDeblur/train/metrics.py
code served (permissive licence) · get_code("0ed223dd01616600")
How it ran

no invocation recorded.

resnet18 Not yet run
unverified (harvested, no recorded run)
jibo27/MemDeblur/model/modules/mod_resnet.py
code served (permissive licence) · get_code("9c37404ec0cf6432")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 3 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
conv1x1 12 other papers
3 dated earlier, 9 later · 1 only as an assembly brick
2006.04139 (2020-06)
Learning Texture Transformer Network for Image Super-Resolution
2106.16028 (2021-06)
Real-world Video Deblurring: A Benchmark Dataset and An Efficient Recurrent Neural Network
2112.05150 (2021-12)
Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring
and 9 more not named here
feed 3 other papers
2 dated earlier, 1 later
2106.16028 (2021-06)
Real-world Video Deblurring: A Benchmark Dataset and An Efficient Recurrent Neural Network
2112.05150 (2021-12)
Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring
2407.09059 (2024-07)
Domain-adaptive Video Deblurring via Test-time Blurring
L1 2 other papers
2 dated earlier
2106.16028 (2021-06)
Real-world Video Deblurring: A Benchmark Dataset and An Efficient Recurrent Neural Network
2112.05150 (2021-12)
Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring
MSE 2 other papers
2 dated earlier
2106.16028 (2021-06)
Real-world Video Deblurring: A Benchmark Dataset and An Efficient Recurrent Neural Network
2112.05150 (2021-12)
Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring
Perceptual 2 other papers
2 dated earlier
2106.16028 (2021-06)
Real-world Video Deblurring: A Benchmark Dataset and An Efficient Recurrent Neural Network
2112.05150 (2021-12)
Deep Recurrent Neural Network with Multi-scale Bi-directional Propagation for Video Deblurring
make_layer 1 other paper
1 later
2206.02146 (2022-06)
Recurrent Video Restoration Transformer with Guided Deformable Attention

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

Video deblurring has achieved remarkable progress thanks to the success of deep neural networks. Most methods solve for the deblurring end-to-end with limited information propagation from the video sequence. However, different frame regions exhibit different characteristics and should be provided with corresponding relevant information. To achieve fine-grained deblurring, we designed a memory branch to memorize the blurry-sharp feature pairs in the memory bank, thus providing useful information for the blurry query input. To enrich the memory of our memory bank, we further designed a bidirectional recurrency and multi-scale strategy based on the memory bank. Experimental results demonstrate that our model outperforms other state-of-the-art methods while keeping the model complexity and inference time low. The code is available at https://github.com/jibo27/MemDeblur.

For agents

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

get_harvested_code_for_paper("2204.02977")
get_code_for_paper("2204.02977")
have("2204.02977")

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

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

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

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

Connect an agent — have() is free.