SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.01105 · CVPR · 2024

Depth Information Assisted Collaborative Mutual Promotion Network for Single Image Dehazing

Shen Zhou, Huafeng Li, Yafei Zhang

arXiv · PDF · Open in the Atlas

Code that ran

15 of 27 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (8 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 4 failures of our instrument; 12 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/2403.01105.json · badge: /api/ran/2403.01105.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
zhoushen1/dcmpnet canonical (classifier label)
classifier basis: census
6 ran · 7 no recorded run
zhoushen1/DCMPNet community
Papers with Code archive
9 ran · 5 no recorded run
FunctionStatusWhere it lives
DRDB Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("b0dcd995030abc5b")
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, DRDB: 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
import torch.nn.functional as F

torch.manual_seed(0)

class DRDB(nn.Module):

    def __init__(self, in_ch=1, growth_rate=32):
        super(DRDB, self).__init__()
        in_ch_ = in_ch
        self.Dcov1 = nn.Conv2d(in_ch_, growth_rate, 3, padding=2, dilation=2)
        in_ch_ += growth_rate
        self.Dcov2 = nn.Conv2d(in_ch_, growth_rate, 3, padding=2, dilation=2)
        in_ch_ += growth_rate
        self.Dcov3 = nn.Conv2d(in_ch_, growth_rate, 3, padding=2, dilation=2)
        in_ch_ += growth_rate
        self.Dcov4 = nn.Conv2d(in_ch_, growth_rate, 3, padding=2, dilation=2)
        in_ch_ += growth_rate
        self.Dcov5 = nn.Conv2d(in_ch_, growth_rate, 3, padding=2, dilation=2)
        in_ch_ += growth_rate
        self.conv = nn.Conv2d(in_ch_, in_ch, 1, padding=0)

    def forward(self, x):
        x1 = self.Dcov1(x)
        x1 = F.relu(x1)
        x1 = torch.cat([x, x1], dim=1)
        x2 = self.Dcov2(x1)
        x2 = F.relu(x2)
        x2 = torch.cat([x1, x2], dim=1)
        x3 = self.Dcov3(x2)
        x3 = F.relu(x3)
        x3 = torch.cat([x2, x3], dim=1)
        x4 = self.Dcov4(x3)
        x4 = F.relu(x4)
        x4 = torch.cat([x3, x4], dim=1)
        x5 = self.Dcov5(x4)
        x5 = F.relu(x5)
        x5 = torch.cat([x4, x5], dim=1)
        x6 = self.conv(x5)
        out = x + F.relu(x6)
        return out

ARGS = {
    "in_ch": 1,
    "growth_rate": 32
}
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 DRDB — 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 DRDB 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
DoubleConv Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("0d0d45169aa1a103")
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, DoubleConv: 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)

# DoubleConv.__init__ takes in_channels and out_channels
# DoubleConv.forward takes x (a tensor)
# The forward method passes x through a Sequential of Conv2d, BatchNorm2d, ReLU layers
# So x should be a 4D tensor (batch, channels, height, width)

in_channels = 3
out_channels = 4

# Create a small input tensor: batch=2, channels=3, height=4, width=5
x = torch.randn(2, 3, 4, 5)

ARGS = {
    'in_channels': in_channels,
    'out_channels': out_channels,
}
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 DoubleConv — 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 DoubleConv 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
Down Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("55954452ecc12fd8")
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, Down: 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)

ARGS = {
    'patch_size': 4,
    'in_chans': 3,
    'embed_dim': 96,
    'kernel_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 Down — 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 Down 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
LayNormal Ran
ran on a synthesized input
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("267713eaeae79b45")
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 tuple. 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 timm.models.layers import to_2tuple, trunc_normal_

class LayNormal(nn.Module):

    def __init__(self, dim, eps=1e-05, detach_grad=False):
        super(LayNormal, self).__init__()
        self.eps = eps
        self.detach_grad = detach_grad
        self.weight = nn.Parameter(torch.ones((1, dim, 1, 1)))
        self.bias = nn.Parameter(torch.zeros((1, dim, 1, 1)))
        self.meta1 = nn.Conv2d(1, dim, 1)
        self.meta2 = nn.Conv2d(1, dim, 1)
        trunc_normal_(self.meta1.weight, std=0.02)
        nn.init.constant_(self.meta1.bias, 1)
        trunc_normal_(self.meta2.weight, std=0.02)
        nn.init.constant_(self.meta2.bias, 0)

    def forward(self, input):
        mean = torch.mean(input, dim=(1, 2, 3), keepdim=True)
        std = torch.sqrt((input - mean).pow(2).mean(dim=(1, 2, 3), keepdim=True) + self.eps)
        normalized_input = (input - mean) / std
        if self.detach_grad:
            rescale, rebias = (self.meta1(std.detach()), self.meta2(mean.detach()))
        else:
            rescale, rebias = (self.meta1(std), self.meta2(mean))
        out = normalized_input * self.weight + self.bias
        return (out, rescale, rebias)


INIT_ARGS = {
    'dim': 4,
    'eps': 1e-05,
    'detach_grad': False,
}

ARGS = {
    'input': torch.randn(2, 4, 3, 5),
}

if __name__ == '__main__':
    model = LayNormal(**INIT_ARGS)
    output = model(**ARGS)
    print("Output shapes:")
    print(f"  out: {output[0].shape}")
    print(f"  rescale: {output[1].shape}")
    print(f"  rebias: {output[2].shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
MFM Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("224bc3934ecfe86e")
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, MFM: 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)

class MFM(nn.Module):

    def __init__(self, dim, height=2, reduction=8):
        super(MFM, self).__init__()
        self.height = height
        d = max(int(dim / reduction), 4)
        self.avg_pool = nn.AdaptiveAvgPool2d(1)
        self.mlp = nn.Sequential(nn.Conv2d(dim, d, 1, bias=False), nn.ReLU(), nn.Conv2d(d, dim * height, 1, bias=False))
        self.softmax = nn.Softmax(dim=1)

    def forward(self, in_feats):
        B, C, H, W = in_feats[0].shape
        in_feats = torch.cat(in_feats, dim=1)
        in_feats = in_feats.view(B, self.height, C, H, W)
        feats_sum = torch.sum(in_feats, dim=1)
        attn = self.mlp(self.avg_pool(feats_sum))
        attn = self.softmax(attn.view(B, self.height, C, 1, 1))
        out = torch.sum(in_feats * attn, dim=1)
        return out

# Create an instance of MFM
dim = 4
height = 2
reduction = 8
mfm_module = MFM(dim=dim, height=height, reduction=reduction)

# Create input tensors for forward pass
# The forward method expects in_feats as a list of tensors
# Each tensor should have shape (B, C, H, W) where C = dim
# The list should have 'height' number of tensors
B = 2
C = dim
H = 3
W = 5

in_feats = [torch.randn(B, C, H, W) for _ in range(height)]

ARGS = {
    'dim': dim,
    'height': height,
    'reduction': reduction
}
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 MFM — 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 MFM 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
Mlp Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("77b034476886713d")
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, Mlp: 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 torch.nn.init import _calculate_fan_in_and_fan_out
from timm.models.layers import to_2tuple, trunc_normal_
import math

torch.manual_seed(0)

ARGS = {
    "network_depth": 4,
    "in_features": 3,
    "hidden_features": 8,
    "out_features": 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Mlp — 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 Mlp 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
UP Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("3132e8be72a417a6")
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, UP: 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)

ARGS = {
    'patch_size': 4,
    'out_chans': 3,
    'embed_dim': 96,
    'kernel_size': 3
}
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 UP — 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 UP 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
Up Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("3473ae78bcc3dcbc")
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, Up: 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)

class DoubleConv(nn.Module):
    def __init__(self, in_channels, out_channels):
        super().__init__()
        self.conv = nn.Sequential(
            nn.Conv2d(in_channels, out_channels, kernel_size=3, padding=1),
            nn.BatchNorm2d(out_channels),
            nn.ReLU(inplace=True),
            nn.Conv2d(out_channels, out_channels, kernel_size=3, padding=1),
            nn.BatchNorm2d(out_channels),
            nn.ReLU(inplace=True)
        )

    def forward(self, x):
        return self.conv(x)

class Up(nn.Module):
    def __init__(self, in_channels, out_channels, bilinear=False):
        super().__init__()
        if bilinear:
            self.up = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=True)
        else:
            self.up = nn.ConvTranspose2d(in_channels // 2, in_channels // 2, kernel_size=2, stride=2)
        self.conv = DoubleConv(in_channels, out_channels)

    def forward(self, x1, x2):
        x1 = self.up(x1)
        diffY = x2.size()[2] - x1.size()[2]
        diffX = x2.size()[3] - x1.size()[3]
        x1 = nn.functional.pad(x1, [diffX // 2, diffX - diffX // 2, diffY // 2, diffY - diffY // 2])
        x = torch.cat([x2, x1], dim=1)
        return self.conv(x)

in_channels = 8
out_channels = 4
bilinear = False

ARGS = {
    'in_channels': in_channels,
    'out_channels': out_channels,
    'bilinear': bilinear
}
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 Up — 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 Up 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
WATT Ran
ran on a synthesized input · constructed an object; no result was computed
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("5f3a17664b3159bb")
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, WATT: 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)

# Read the WATT class to understand parameter requirements:
# - dim: integer, used in reshape and head_dim calculation
# - window_size: integer, passed to get_relative_positions
# - num_heads: integer, used in reshape and meta network output

# The forward method expects qkv input of shape (B_, N, 3*dim)
# where N = window_size * window_size (for windowed attention)

dim = 4
window_size = 2
num_heads = 2

ARGS = {
    'dim': dim,
    'window_size': window_size,
    'num_heads': num_heads,
}
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 WATT — 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 WATT 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
align Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhoushen1/dcmpnet/datasets/loader.py
code served (permissive licence) · get_code("3d1084cb97ab35dc")
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 list, ndim 4, 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 numpy as np

# Create a list of small images (numpy arrays)
# The function expects imgs to be a list of numpy arrays with shape (H, W, 3)
# Using distinct sizes: H=512, W=640 to make dimensions unambiguous
img1 = np.random.randint(0, 256, size=(512, 640, 3), dtype=np.uint8)
img2 = np.random.randint(0, 256, size=(512, 640, 3), dtype=np.uint8)
imgs = [img1, img2]

ARGS = {
    "imgs": imgs,
    "size": 256
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — 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
augment Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhoushen1/dcmpnet/datasets/loader.py
code served (permissive licence) · get_code("69467681d00a88d8")
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 list, ndim 4, 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 numpy as np
import random

# Set seed for reproducibility
random.seed(0)
np.random.seed(0)

# Create sample images with shape (H, W, 3) where H > size and W > size
# Using distinct dimensions to make shapes unambiguous
img1 = np.random.randint(0, 256, size=(512, 384, 3), dtype=np.uint8)
img2 = np.random.randint(0, 256, size=(512, 384, 3), dtype=np.uint8)

ARGS = {
    "imgs": [img1, img2],
    "size": 256,
    "edge_decay": 0.5,
    "only_h_flip": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, dtype family int — 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
gaussian Ran
ran, honoured the contract we drafted
zhoushen1/dcmpnet/utils/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from JS-CHU/RoamScene3D, is pointer only (licence: NONE) · get_code("e2424ce033ba3a0f")
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 JS-CHU/RoamScene3D, 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_relative_positions Ran
ran, honoured the contract we drafted
zhoushen1/dcmpnet/models/DIACMPN.py
pointer only (licence: MIT); the stored copy get_code serves, from AWCXV/GIFNet, is pointer only (licence: NONE) · get_code("2a53db1b6432ab8c")
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 AWCXV/GIFNet, 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.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhoushen1/dcmpnet/models/DIACMPN.py
pointer only (licence: MIT); the stored copy get_code serves, from AWCXV/GIFNet, is pointer only (licence: NONE) · get_code("751569c78a842e44")
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 AWCXV/GIFNet, 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.

window_reverse Ran
ran; our contract draft was wrong, not the code
zhoushen1/dcmpnet/models/DIACMPN.py
pointer only (licence: MIT); the stored copy get_code serves, from xuwayyy/SHARE, is pointer only (licence: NONE) · get_code("7b0d02f75bf6b439")
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 xuwayyy/SHARE, 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.

Att Not yet run
unverified (harvested, no recorded run)
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("3c87f1fe380a1d6c")
How it ran

no invocation recorded.

DIACMPN Not yet run
unverified (harvested, no recorded run)
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("d0d146851a4ae1b7")
How it ran

no invocation recorded.

LEGM Not yet run
unverified (harvested, no recorded run)
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("1a8ea485f8f664f9")
How it ran

no invocation recorded.

TB Not yet run
unverified (harvested, no recorded run)
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("3e60f82697d63378")
How it ran

no invocation recorded.

UNet Not yet run
unverified (harvested, no recorded run)
zhoushen1/DCMPNet/models/DIACMPN.py
code served (permissive licence) · get_code("f210a1ee6dfd893c")
How it ran

no invocation recorded.

chw_to_hwc Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/common.py
code served (permissive licence) · get_code("e4b2196560e07093")
How it ran

no invocation recorded.

create_window Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/metrics.py
code served (permissive licence) · get_code("8e6dfffd626f0962")
How it ran

no invocation recorded.

hwc_to_chw Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/common.py
code served (permissive licence) · get_code("81db6e556c7e4498")
How it ran

no invocation recorded.

read_img Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/common.py
code served (permissive licence) · get_code("22d056c672f87531")
How it ran

no invocation recorded.

scatter Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/data_parallel.py
code served (permissive licence) · get_code("750d4b7871bdab54")
How it ran

no invocation recorded.

scatter_kwargs Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/data_parallel.py
code served (permissive licence) · get_code("4d884799472e12a5")
How it ran

no invocation recorded.

ssim Not yet run
unverified (harvested, no recorded run)
zhoushen1/dcmpnet/utils/metrics.py
code served (permissive licence) · get_code("45f7c22382b7ff2f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 27 samples lifted from this paper's linked repositories, 27 carry a function identity and 0 do not. Of the 27 distinct functions with an identity, 14 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 5 the same month, 9 later) and 13 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
153 dated earlier, 10 the same month, 55 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
gaussian 160 other papers
73 dated earlier, 13 the same month, 73 later, 1 same year, order not determinable · 7 only as an assembly brick
1812.11941 (2018-12)
High Quality Monocular Depth Estimation via Transfer Learning
1904.01538 (2019-04)
Spatial Attentive Single-Image Deraining with a High Quality Real Rain Dataset
1907.11628 (2019-07)
Unsupervised Learning for Optical Flow Estimation Using Pyramid Convolution LSTM
and 157 more not named here
create_window 52 other papers
30 dated earlier, 2 the same month, 20 later · 5 only as an assembly brick
1904.01538 (2019-04)
Spatial Attentive Single-Image Deraining with a High Quality Real Rain Dataset
1907.11628 (2019-07)
Unsupervised Learning for Optical Flow Estimation Using Pyramid Convolution LSTM
2002.11616 (2020-02)
Zooming Slow-Mo: Fast and Accurate One-Stage Space-Time Video Super-Resolution
and 49 more not named here
scatter_kwargs 11 other papers
9 dated earlier, 2 later
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2106.06295 (2021-06)
Going Beyond Linear Transformers with Recurrent Fast Weight Programmers
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
and 8 more not named here
scatter 8 other papers
7 dated earlier, 1 later
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2106.06295 (2021-06)
Going Beyond Linear Transformers with Recurrent Fast Weight Programmers
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
and 5 more not named here
get_relative_positions
brick of this paper's assembly: helper
4 other papers
1 dated earlier, 1 the same month, 2 later
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2403.18548 (2024-03)
A Semi-supervised Nighttime Dehazing Baseline with Spatial-Frequency Aware and Realistic Brightness Constraint
2412.03745 (2024-12)
Deep Variational Bayesian Modeling of Haze Degradation Process
and 1 more not named here
window_partition
brick of this paper's assembly: helper
4 other papers
1 dated earlier, 1 the same month, 2 later
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2403.18548 (2024-03)
A Semi-supervised Nighttime Dehazing Baseline with Spatial-Frequency Aware and Realistic Brightness Constraint
2412.03745 (2024-12)
Deep Variational Bayesian Modeling of Haze Degradation Process
and 1 more not named here
align 2 other papers
2 dated earlier
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2209.01788 (2022-09)
LKD-Net: Large Kernel Convolution Network for Single Image Dehazing
augment 2 other papers
2 dated earlier
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2209.01788 (2022-09)
LKD-Net: Large Kernel Convolution Network for Single Image Dehazing
chw_to_hwc 2 other papers
2 dated earlier
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2209.01788 (2022-09)
LKD-Net: Large Kernel Convolution Network for Single Image Dehazing
hwc_to_chw 2 other papers
2 dated earlier
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2209.01788 (2022-09)
LKD-Net: Large Kernel Convolution Network for Single Image Dehazing
read_img 2 other papers
2 dated earlier
2204.03883 (2022-04)
Vision Transformers for Single Image Dehazing
2209.01788 (2022-09)
LKD-Net: Large Kernel Convolution Network for Single Image Dehazing
Mlp
brick of this paper's assembly: model
1 other paper
1 later
2502.19854 (2025-02)
One Model for ALL: Low-Level Task Interaction Is a Key to Task-Agnostic Image Fusion
ssim 1 other paper
1 later
2412.03745 (2024-12)
Deep Variational Bayesian Modeling of Haze Degradation Process

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

Recovering a clear image from a single hazy image is an open inverse problem. Although significant research progress has been made, most existing methods ignore the effect that downstream tasks play in promoting upstream dehazing. From the perspective of the haze generation mechanism, there is a potential relationship between the depth information of the scene and the hazy image. Based on this, we propose a dual-task collaborative mutual promotion framework to achieve the dehazing of a single image. This framework integrates depth estimation and dehazing by a dual-task interaction mechanism and achieves mutual enhancement of their performance. To realize the joint optimization of the two tasks, an alternative implementation mechanism with the difference perception is developed. On the one hand, the difference perception between the depth maps of the dehazing result and the ideal image is proposed to promote the dehazing network to pay attention to the non-ideal areas of the dehazing. On the other hand, by improving the depth estimation performance in the difficult-to-recover areas of the hazy image, the dehazing network can explicitly use the depth information of the hazy image to assist the clear image recovery. To promote the depth estimation, we propose to use the difference between the dehazed image and the ground truth to guide the depth estimation network to focus on the dehazed unideal areas. It allows dehazing and depth estimation to leverage their strengths in a mutually reinforcing manner. Experimental results show that the proposed method can achieve better performance than that of the state-of-the-art approaches. The source code is released at https://github.com/zhoushen1/DCMPNet.

For agents

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

get_harvested_code_for_paper("2403.01105")
get_code_for_paper("2403.01105")
have("2403.01105")

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

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

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

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

Connect an agent — have() is free.