SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2212.00968 · 2022

UIU-Net: U-Net in U-Net for Infrared Small Object Detection

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 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 2 have no contract verdict; 1 failure of our instrument; 1 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/2212.00968.json · badge: /api/ran/2212.00968.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
danfenghong/ieee_tip_uiu-net canonical (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
cal_tp_pos_fp_neg Ran
ran on a synthesized input
danfenghong/ieee_tip_uiu-net/model/metrics.py
code served (permissive licence) · get_code("1c4a42b315d6c6d1")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# Create small tensors for output and target
# output: raw logits/scores (batch_size=2, some features)
output = torch.randn(2, 4)

# target: binary labels (batch_size=2, some features)
target = torch.randint(0, 2, (2, 4)).float()

# nclass: number of classes
nclass = 2

# score_thresh: threshold for sigmoid
score_thresh = 0.5

ARGS = {
    'output': output,
    'target': target,
    'nclass': nclass,
    'score_thresh': score_thresh
}
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, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
flops_to_string Ran
ran; our contract draft was wrong, not the code
danfenghong/ieee_tip_uiu-net/compute_cost.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from rui-qian/SoTA-3D-Object-Detection, is pointer only (licence: NONE) · get_code("ad708b63b59159a6")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from rui-qian/SoTA-3D-Object-Detection, 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.

params_to_string Ran
ran on a synthesized input
danfenghong/ieee_tip_uiu-net/compute_cost.py
code served (permissive licence) · get_code("ddea91f7dddc66e6")
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 str. 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

# params_to_string takes params_num (required), units (optional), and precision (optional)
# The function does numerical operations on params_num and string formatting
# It checks if units is None, or equals 'M' or 'K'
# precision is used in round() calls when units is specified

ARGS = {
    'params_num': 2500000,  # A number large enough to trigger M conversion (2.5M)
    'units': None,          # Test default behavior
    'precision': 2          # Default precision value
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
get_model_complexity_info Not yet run
unverified (harvested, no recorded run)
danfenghong/ieee_tip_uiu-net/compute_cost.py
code served (permissive licence) · get_code("03fe1448ec9d717b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 3 later) and 1 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
flops_to_string 5 other papers
4 dated earlier, 1 later
2004.09576 (2020-04)
LSQ+: Improving low-bit quantization through learnable offsets and better initialization
2104.05707 (2021-04)
LocalViT: Analyzing Locality in Vision Transformers
2106.10823 (2021-06)
3D Object Detection for Autonomous Driving: A Survey
and 2 more not named here
params_to_string 2 other papers
1 dated earlier, 1 later
2104.05707 (2021-04)
LocalViT: Analyzing Locality in Vision Transformers
aaai_28394 (2024 (year only))
DTMFormer: Dynamic Token Merging for Boosting Transformer-Based Medical Image Segmentation
get_model_complexity_info 1 other paper
1 later
aaai_28394 (2024 (year only))
DTMFormer: Dynamic Token Merging for Boosting Transformer-Based Medical Image Segmentation

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

Learning-based infrared small object detection methods currently rely heavily on the classification backbone network. This tends to result in tiny object loss and feature distinguishability limitations as the network depth increases. Furthermore, small objects in infrared images are frequently emerged bright and dark, posing severe demands for obtaining precise object contrast information. For this reason, we in this paper propose a simple and effective ``U-Net in U-Net'' framework, UIU-Net for short, and detect small objects in infrared images. As the name suggests, UIU-Net embeds a tiny U-Net into a larger U-Net backbone, enabling the multi-level and multi-scale representation learning of objects. Moreover, UIU-Net can be trained from scratch, and the learned features can enhance global and local contrast information effectively. More specifically, the UIU-Net model is divided into two modules: the resolution-maintenance deep supervision (RM-DS) module and the interactive-cross attention (IC-A) module. RM-DS integrates Residual U-blocks into a deep supervision network to generate deep multi-scale resolution-maintenance features while learning global context information. Further, IC-A encodes the local context information between the low-level details and high-level semantic features. Extensive experiments conducted on two infrared single-frame image datasets, i.e., SIRST and Synthetic datasets, show the effectiveness and superiority of the proposed UIU-Net in comparison with several state-of-the-art infrared small object detection methods. The proposed UIU-Net also produces powerful generalization performance for video sequence infrared small object datasets, e.g., ATR ground/air video sequence dataset. The codes of this work are available openly at \url{https://github.com/danfenghong/IEEE_TIP_UIU-Net}.

For agents

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

get_harvested_code_for_paper("2212.00968")
get_code_for_paper("2212.00968")
have("2212.00968")

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

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

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

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

Connect an agent — have() is free.