SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.03979 · 2023

PAIF: Perception-Aware Infrared-Visible Image Fusion for Attack-Tolerant Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

23 of 27 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, 0 violated it and 8 have no contract verdict; 15 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/2308.03979.json · badge: /api/ran/2308.03979.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
liuzhu-cv/crmef canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
liuzhu-cv/paif canonical (classifier label)
classifier basis: classifier_2025
0 ran · 2 no recorded run
LiuZhu-CV/BDLFusion community (classifier label)
classifier basis not recorded on the link
15 ran · 1 no recorded run
FunctionStatusWhere it lives
CropSample Ran
ran; our contract draft was wrong, not the code
liuzhu-cv/crmef/pietorch/N_modules.py
pointer only (licence: NONE) · get_code("0415a04e36607241")
How it ran

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

CropSample2 Ran
ran; our contract draft was wrong, not the code
liuzhu-cv/crmef/pietorch/N_modules.py
pointer only (licence: NONE) · get_code("79504595f406b0de")
How it ran

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

CropSample3 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liuzhu-cv/crmef/pietorch/N_modules.py
pointer only (licence: NONE) · get_code("747145371dbd7ffb")
How it ran

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

YCrCb2RGB Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LiuZhu-CV/BDLFusion/model/fcos_fusion.py
pointer only (licence: MIT); the stored copy get_code serves, from jinyuanliu-cv/segmif, is pointer only (licence: NONE) · get_code("145edd13c3925a58")
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 jinyuanliu-cv/segmif, 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.

cal_gradient_penalty Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liuzhu-cv/crmef/AHDRNAS.py
pointer only (licence: NONE) · get_code("0c6f4d7bb0001241")
How it ran

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

colorJitter Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/dataset/augment.py
code served (permissive licence) · get_code("8995c32130a77e1b")
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. 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 torchvision.transforms as transforms
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a small PIL Image (3-channel, 4x4)
img_array = np.random.randint(0, 256, (4, 4, 3), dtype=np.uint8)
img = Image.fromarray(img_array)

# Create boxes as a tensor or list (e.g., bounding boxes)
boxes = torch.tensor([[0.1, 0.1, 0.5, 0.5], [0.2, 0.2, 0.8, 0.8]])

ARGS = {
    "img": img,
    "boxes": boxes,
    "brightness": 0.1,
    "contrast": 0.1,
    "saturation": 0.1,
    "hue": 0.1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — 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: none by the harness; any seed is in the setup block
compute_cls_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LiuZhu-CV/BDLFusion/model/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from jinyuanliu-cv/segmif, is pointer only (licence: NONE) · get_code("c567234c5e7fa848")
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 jinyuanliu-cv/segmif, 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.

compute_cnt_loss Ran
ran; our contract draft was wrong, not the code
LiuZhu-CV/BDLFusion/model/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from jinyuanliu-cv/segmif, is pointer only (licence: NONE) · get_code("2fe6b97c7e7cccbb")
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 jinyuanliu-cv/segmif, 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
LiuZhu-CV/BDLFusion/model/backbone/resnet.py
pointer only (licence: MIT); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
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 lixiaotong97/DSU, 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
liuzhu-cv/crmef/pietorch/se_nets.py
pointer only (licence: NONE); the stored copy get_code serves, from amerch/CIFAR100-Training, is pointer only (licence: NONE) · get_code("583f9780bdd00a45")
How it ran

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

conv_layer Ran
ran; our contract draft was wrong, not the code
liuzhu-cv/crmef/AHDRNAS.py
pointer only (licence: NONE) · get_code("d3a234f32905b183")
How it ran

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

coords_fmap2orig Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LiuZhu-CV/BDLFusion/model/loss.py
pointer only (licence: MIT); the stored copy get_code serves, from jinyuanliu-cv/segmif, is pointer only (licence: NONE) · get_code("68ee569246bd7e3a")
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 jinyuanliu-cv/segmif, 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.

eval_ap_2d Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/eval_detection.py
code served (permissive licence) · get_code("f1eaef8506fafbc4")
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 dict. 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 numpy as np

# Create small sample data for 2D object detection evaluation
# We need:
# - gt_boxes: list of arrays with shape (num_boxes_in_image, 4) containing (x1,y1,x2,y2)
# - gt_labels: list of arrays with shape (num_boxes_in_image,) containing class labels
# - pred_boxes: list of arrays with shape (num_pred_boxes_in_image, 4)
# - pred_labels: list of arrays with shape (num_pred_boxes_in_image,)
# - pred_scores: list of arrays with shape (num_pred_boxes_in_image,)
# - iou_thread: float threshold for IoU
# - num_cls: int, total number of classes (including background/0)

# Sample 1: 2 ground truth boxes, 3 predictions
gt_boxes_sample1 = np.array([
    [10.0, 10.0, 50.0, 50.0],  # box 1
    [60.0, 60.0, 100.0, 100.0]  # box 2
])
gt_labels_sample1 = np.array([1, 2])  # class 1 and class 2

pred_boxes_sample1 = np.array([
    [12.0, 12.0, 48.0, 48.0],  # close to first gt box
    [65.0, 65.0, 95.0, 95.0],  # close to second gt box
    [120.0, 120.0, 150.0, 150.0]  # no match
])
pred_labels_sample1 = np.array([1, 2, 1])
pred_scores_sample1 = np.array([0.9, 0.8, 0.7])

# Sample 2: 1 ground truth box, 2 predictions
gt_boxes_sample2 = np.array([
    [5.0, 5.0, 25.0, 25.0]
])
gt_labels_sample2 = np.array([1])

pred_boxes_sample2 = np.array([
    [7.0, 7.0, 23.0, 23.0],  # close match
    [30.0, 30.0, 40.0, 40.0]  # no match
])
pred_labels_sample2 = np.array([1, 2])
pred_scores_sample2 = np.array([0.85, 0.6])

ARGS = {
    "gt_boxes": [gt_boxes_sample1, gt_boxes_sample2],
    "gt_labels": [gt_labels_sample1, gt_labels_sample2],
    "pred_boxes": [pred_boxes_sample1, pred_boxes_sample2],
    "pred_labels": [pred_labels_sample1, pred_labels_sample2],
    "pred_scores": [pred_scores_sample1, pred_scores_sample2],
    "iou_thread": 0.5,
    "num_cls": 3
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
flip Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/dataset/VOC_dataset.py
code served (permissive licence) · get_code("f282dfb509f5c783")
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. 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 numpy as np
from PIL import Image

# Create a small PIL Image for testing
# Create a simple 10x8 RGB image
img_array = np.zeros((8, 10, 3), dtype=np.uint8)
img_array[0:4, 0:5] = [255, 0, 0]  # Red rectangle
img = Image.fromarray(img_array, mode='RGB')

# Create boxes array with shape (2, 4)
# boxes format: [xmin, ymin, xmax, ymax]
boxes = np.array([
    [1.0, 2.0, 5.0, 6.0],
    [3.0, 1.0, 7.0, 4.0]
], dtype=np.float32)

ARGS = {
    'img': img,
    'boxes': boxes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, 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: none by the harness; any seed is in the setup block
flip Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/dataset/VOC_dataset_Fusion.py
code served (permissive licence) · get_code("77ccaaed6fe6ba6c")
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. 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 numpy as np
from PIL import Image

# Create small PIL images for testing
# img_ir: infrared image
img_ir = Image.new('L', (100, 80), color=50)

# img_vis: visible light image
img_vis = Image.new('L', (100, 80), color=100)

# img_mask: mask image
img_mask = Image.new('L', (100, 80), color=200)

# boxes: numpy array with shape (N, 4) where N is number of boxes
# Each box has format [xmin, ymin, xmax, ymax]
# Create 2 sample boxes
boxes = np.array([
    [10.0, 20.0, 50.0, 60.0],
    [30.0, 40.0, 80.0, 75.0]
], dtype=np.float32)

ARGS = {
    "img_ir": img_ir,
    "img_vis": img_vis,
    "img_mask": img_mask,
    "boxes": boxes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, 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: none by the harness; any seed is in the setup block
get_patch_from_file Ran
ran; our contract draft was wrong, not the code
liuzhu-cv/crmef/dataset/dataset_patches.py
pointer only (licence: NONE) · get_code("6a4bda1402e49df9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liuzhu-cv/crmef 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_tv Ran
ran; our contract draft was wrong, not the code
liuzhu-cv/crmef/PerceptualLoss.py
pointer only (licence: NONE) · get_code("1a58de2bd0d27f53")
How it ran

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

iou_2d Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/eval_detection.py
code served (permissive licence) · get_code("c756c28cd59b62a3")
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, 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

# Create sample 2D bounding boxes in format (x1, y1, x2, y2)
# cubes_a: N bounding boxes
cubes_a = np.array([
    [0.0, 0.0, 4.0, 3.0],
    [1.0, 1.0, 5.0, 4.0]
], dtype=np.float32)

# cubes_b: M bounding boxes
cubes_b = np.array([
    [2.0, 2.0, 6.0, 5.0],
    [0.5, 0.5, 2.5, 2.5],
    [3.0, 3.0, 7.0, 6.0]
], dtype=np.float32)

ARGS = {
    "cubes_a": cubes_a,
    "cubes_b": cubes_b
}
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 ndarray, ndim 2, dtype family float, shape (2, 3) — shape (2, 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
random_rotation Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/dataset/augment.py
code served (permissive licence) · get_code("7a9983c45529c7ed")
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. 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 numpy as np
from PIL import Image

torch.manual_seed(0)

# Create a small PIL Image for img parameter
img = Image.new('RGB', (100, 80))

# Create a small numpy array for boxes parameter
# boxes should be in format [xmin, ymin, xmax, ymax] based on how the function uses it
boxes = np.array([
    [10.0, 20.0, 50.0, 60.0],
    [30.0, 15.0, 70.0, 55.0]
], dtype=np.float32)

ARGS = {
    'img': img,
    'boxes': boxes,
    'degree': 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, 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: none by the harness; any seed is in the setup block
random_rotation2 Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/dataset/augment.py
code served (permissive licence) · get_code("6356ce97cd733a2e")
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. 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 math
import random
from PIL import Image
import numpy as np

torch.manual_seed(0)
random.seed(0)

# Create small PIL images for img_ir, img_vis, img_mask
# They need to have a .size attribute and .rotate() method
img_ir = Image.new('RGB', (100, 80))
img_vis = Image.new('RGB', (100, 80))
img_mask = Image.new('L', (100, 80))

# Create boxes as numpy array with shape (2, 4)
# Format: [ymin, xmin, ymax, xmax] based on how the function uses them
boxes = np.array([
    [10.0, 15.0, 30.0, 40.0],
    [20.0, 25.0, 50.0, 60.0]
], dtype=np.float32)

ARGS = {
    'img_ir': img_ir,
    'img_vis': img_vis,
    'img_mask': img_mask,
    'boxes': boxes,
    'degree': 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, 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: none by the harness; any seed is in the setup block
resnet18 Ran
ran; our contract draft was wrong, not the code
LiuZhu-CV/BDLFusion/model/backbone/resnet.py
code served (permissive licence) · get_code("004e5b2448286424")
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
import math

torch.manual_seed(0)

# Define ARGS dict with all parameters for resnet18
ARGS = {
    'pretrained': False,
}
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
resnet34 Ran
ran; our contract draft was wrong, not the code
LiuZhu-CV/BDLFusion/model/backbone/resnet.py
code served (permissive licence) · get_code("ab6897aaaf1e833e")
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
import math

torch.manual_seed(0)

ARGS = {
    'pretrained': False,
}
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
sort_by_score Ran
ran on a synthesized input
LiuZhu-CV/BDLFusion/eval_detection.py
code served (permissive licence) · get_code("4f5c46171ffa62aa")
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. 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 numpy as np

torch.manual_seed(0)

# Create sample data for pred_boxes, pred_labels, pred_scores
# Each should be a list of tensors/arrays, one per sample in batch

# Batch size: 2
# Boxes: 4 boxes per sample with 4 coordinates each
# Labels: 4 labels per sample
# Scores: 4 scores per sample

pred_boxes = [
    torch.tensor([[1.0, 2.0, 3.0, 4.0],
                   [5.0, 6.0, 7.0, 8.0],
                   [9.0, 10.0, 11.0, 12.0],
                   [13.0, 14.0, 15.0, 16.0]], dtype=torch.float32),
    torch.tensor([[2.0, 3.0, 4.0, 5.0],
                   [6.0, 7.0, 8.0, 9.0],
                   [10.0, 11.0, 12.0, 13.0],
                   [14.0, 15.0, 16.0, 17.0]], dtype=torch.float32)
]

pred_labels = [
    torch.tensor([0, 1, 2, 0], dtype=torch.long),
    torch.tensor([1, 2, 0, 1], dtype=torch.long)
]

pred_scores = [
    torch.tensor([0.9, 0.7, 0.5, 0.8], dtype=torch.float32),
    torch.tensor([0.6, 0.95, 0.4, 0.75], dtype=torch.float32)
]

ARGS = {
    "pred_boxes": pred_boxes,
    "pred_labels": pred_labels,
    "pred_scores": pred_scores
}
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 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: none by the harness; any seed is in the setup block
RGB2YCrCb Not yet run
unverified (harvested, no recorded run)
liuzhu-cv/paif/test_original.py
pointer only (licence: NONE) · get_code("f724ee102895d8e3")
How it ran

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

RGB2YCrCb Not yet run
unverified (harvested, no recorded run)
LiuZhu-CV/BDLFusion/model/fcos_fusion.py
pointer only (licence: MIT); the stored copy get_code serves, from jinyuanliu-cv/segmif, is pointer only (licence: NONE) · get_code("6b1c47ea9127b33e")
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 jinyuanliu-cv/segmif, 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.

YCrCb2RGB Not yet run
unverified (harvested, no recorded run)
liuzhu-cv/paif/test_original.py
pointer only (licence: NONE) · get_code("96dcdaf98db413c7")
How it ran

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

data_augmentation Not yet run
unverified (harvested, no recorded run)
liuzhu-cv/crmef/dataset/dataset_patches.py
pointer only (licence: NONE) · get_code("0db1cd12ba9b89e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liuzhu-cv/crmef 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 27 samples lifted from this paper's linked repositories, 27 carry a function identity and 0 do not. Of the 26 distinct functions with an identity, 12 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 7 the same month, 5 later) and 14 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
conv3x3 686 other papers
498 dated earlier, 12 the same month, 169 later, 7 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
resnet18 89 other papers
65 dated earlier, 2 the same month, 21 later, 1 same year, order not determinable
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 86 more not named here
resnet34 53 other papers
43 dated earlier, 9 later, 1 same year, order not determinable
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 50 more not named here
conv_layer 3 other papers
3 dated earlier
1909.10692 (2019-09)
Deformable Non-local Network for Video Super-Resolution
2009.11551 (2020-09)
Residual Feature Distillation Network for Lightweight Image Super-Resolution
2211.05910 (2022-11)
Efficient and Accurate Quantized Image Super-Resolution on Mobile NPUs, Mobile AI & AIM 2022 challenge: Report
YCrCb2RGB 2 other papers
1 the same month, 1 later
2308.02097 (2023-08)
Multi-interactive Feature Learning and a Full-time Multi-modality Benchmark for Image Fusion and Segmentation
CropSample 1 other paper
1 dated earlier
1903.08817 (2019-03)
Dual Residual Networks Leveraging the Potential of Paired Operations for Image Restoration
RGB2YCrCb 1 other paper
1 the same month
2308.02097 (2023-08)
Multi-interactive Feature Learning and a Full-time Multi-modality Benchmark for Image Fusion and Segmentation
cal_gradient_penalty 1 other paper
1 later
2510.14623 (2025-10)
LeapFactual: Reliable Visual Counterfactual Explanation Using Conditional Flow Matching
compute_cls_loss 1 other paper
1 the same month
2308.02097 (2023-08)
Multi-interactive Feature Learning and a Full-time Multi-modality Benchmark for Image Fusion and Segmentation
compute_cnt_loss 1 other paper
1 the same month
2308.02097 (2023-08)
Multi-interactive Feature Learning and a Full-time Multi-modality Benchmark for Image Fusion and Segmentation
coords_fmap2orig 1 other paper
1 the same month
2308.02097 (2023-08)
Multi-interactive Feature Learning and a Full-time Multi-modality Benchmark for Image Fusion and Segmentation
get_tv 1 other paper
1 dated earlier
2305.15862 (2023-05)
A Task-guided, Implicitly-searched and Meta-initialized Deep Model for Image Fusion

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

Infrared and visible image fusion is a powerful technique that combines complementary information from different modalities for downstream semantic perception tasks. Existing learning-based methods show remarkable performance, but are suffering from the inherent vulnerability of adversarial attacks, causing a significant decrease in accuracy. In this work, a perception-aware fusion framework is proposed to promote segmentation robustness in adversarial scenes. We first conduct systematic analyses about the components of image fusion, investigating the correlation with segmentation robustness under adversarial perturbations. Based on these analyses, we propose a harmonized architecture search with a decomposition-based structure to balance standard accuracy and robustness. We also propose an adaptive learning strategy to improve the parameter robustness of image fusion, which can learn effective feature extraction under diverse adversarial perturbations. Thus, the goals of image fusion (\textit{i.e.,} extracting complementary features from source modalities and defending attack) can be realized from the perspectives of architectural and learning strategies. Extensive experimental results demonstrate that our scheme substantially enhances the robustness, with gains of 15.3% mIOU of segmentation in the adversarial scene, compared with advanced competitors. The source codes are available at https://github.com/LiuZhu-CV/PAIF.

For agents

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

get_harvested_code_for_paper("2308.03979")
get_code_for_paper("2308.03979")
have("2308.03979")

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

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

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

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

Connect an agent — have() is free.