SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.08088 · 2021

Image-Adaptive YOLO for Object Detection in Adverse Weather Conditions

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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 3 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-22; 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/2112.08088.json · badge: /api/ran/2112.08088.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
wenyyu/Image-Adaptive-YOLO canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
get_anchors Ran
ran on a synthesized input
wenyyu/Image-Adaptive-YOLO/core/utils.py
code served (permissive licence) · get_code("eb22d53f46cdff31")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (3, 3, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import tempfile
import os

# Create a temporary anchors file
temp_dir = tempfile.mkdtemp()
anchors_path = os.path.join(temp_dir, "anchors.txt")

# Write anchor data to the temporary file
# The function expects a CSV string that can be reshaped to (3, 3, 2)
# That's 3 * 3 * 2 = 18 values
anchor_values = "1.2,2.3,3.4,4.5,5.6,6.7,7.8,8.9,9.0,10.1,11.2,12.3,13.4,14.5,15.6,16.7,17.8,18.9"
with open(anchors_path, 'w') as f:
    f.write(anchor_values)

ARGS = {
    "anchors_path": anchors_path
}
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 3, dtype family float, shape (3, 3, 2) — shape (3, 3, 2) 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
image_preporcess Ran
ran on a synthesized input
wenyyu/Image-Adaptive-YOLO/core/utils.py
code served (permissive licence) · get_code("2bbe84e69419d34e")
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 cv2
import numpy as np

# Create a small test image (BGR format as cv2 expects)
# Using shape (100, 120, 3) for height=100, width=120, channels=3
test_image = np.random.randint(0, 256, size=(100, 120, 3), dtype=np.uint8)

# Create ground truth boxes
# Format: [x1, y1, x2, y2] for each box
# Using 3 boxes with coordinates within the image bounds
gt_boxes = np.array([
    [10.0, 15.0, 50.0, 60.0],
    [60.0, 20.0, 100.0, 80.0],
    [30.0, 70.0, 90.0, 95.0]
], dtype=np.float32)

# Target size (height, width) for preprocessing
target_size = (224, 224)

ARGS = {
    "image": test_image,
    "target_size": target_size,
    "gt_boxes": gt_boxes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
load_annotations Ran
ran on a synthesized input
wenyyu/Image-Adaptive-YOLO/core/data_make.py
code served (permissive licence) · get_code("68e71f61d06e7c97")
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 1, 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 tempfile
import os

# Create a temporary file with annotation data
temp_dir = tempfile.mkdtemp()
annot_file = os.path.join(temp_dir, "annotations.txt")

# Write sample annotations to file
# Format: each line has some content, with first element being stripped away
# and remaining elements being the actual annotation
with open(annot_file, 'w') as f:
    f.write("image1.jpg cat dog bird\n")
    f.write("image2.jpg person car\n")
    f.write("image3.jpg\n")  # This line will be filtered out (no content after first element)
    f.write("image4.jpg tree flower plant\n")

ARGS = {
    "annot_path": annot_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_class_names Ran
ran; our contract draft was wrong, not the code
wenyyu/Image-Adaptive-YOLO/core/utils.py
code served (permissive licence) · get_code("f453b9c5d55c7987")
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 tempfile
import os

# Create a temporary class names file
temp_dir = tempfile.mkdtemp()
class_file_path = os.path.join(temp_dir, "classes.txt")

# Write some sample class names to the file
with open(class_file_path, 'w') as f:
    f.write("cat\n")
    f.write("dog\n")
    f.write("bird\n")
    f.write("fish\n")

ARGS = {
    "class_file_name": class_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
convolutional Not yet run
unverified (harvested, no recorded run)
wenyyu/Image-Adaptive-YOLO/core/common.py
code served (permissive licence) · get_code("8c6d05a8b92e5e5c")
How it ran

no invocation recorded.

parse_annotation Not yet run
unverified (harvested, no recorded run)
wenyyu/Image-Adaptive-YOLO/core/data_make.py
code served (permissive licence) · get_code("996c49d91f39c699")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
read_class_names 2 other papers
2 dated earlier
1804.02767 (2018-04)
YOLOv3: An Incremental Improvement
2004.10934 (2020-04)
YOLOv4: Optimal Speed and Accuracy of Object Detection
convolutional 1 other paper
1 dated earlier
1804.02767 (2018-04)
YOLOv3: An Incremental Improvement
get_anchors 1 other paper
1 dated earlier
1804.02767 (2018-04)
YOLOv3: An Incremental Improvement

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Though deep learning-based object detection methods have achieved promising results on the conventional datasets, it is still challenging to locate objects from the low-quality images captured in adverse weather conditions. The existing methods either have difficulties in balancing the tasks of image enhancement and object detection, or often ignore the latent information beneficial for detection. To alleviate this problem, we propose a novel Image-Adaptive YOLO (IA-YOLO) framework, where each image can be adaptively enhanced for better detection performance. Specifically, a differentiable image processing (DIP) module is presented to take into account the adverse weather conditions for YOLO detector, whose parameters are predicted by a small convolutional neural net-work (CNN-PP). We learn CNN-PP and YOLOv3 jointly in an end-to-end fashion, which ensures that CNN-PP can learn an appropriate DIP to enhance the image for detection in a weakly supervised manner. Our proposed IA-YOLO approach can adaptively process images in both normal and adverse weather conditions. The experimental results are very encouraging, demonstrating the effectiveness of our proposed IA-YOLO method in both foggy and low-light scenarios.

For agents

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

get_harvested_code_for_paper("2112.08088")
get_code_for_paper("2112.08088")
have("2112.08088")

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

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

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

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

Connect an agent — have() is free.