SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.08988 · 2021

FEANet: Feature-Enhanced Attention Network for RGB-Thermal Real-time Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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, 1 violated it and 2 have no contract verdict; 1 failure of our instrument; 1 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/2110.08988.json · badge: /api/ran/2110.08988.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
matrixgame2018/FEANet canonical (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
FunctionStatusWhere it lives
focal_loss_with_logits Ran
ran; our contract draft was wrong, not the code
matrixgame2018/FEANet/loss_hub/losses/_functional.py
code served (permissive licence) · get_code("1b4fef545c17040d")
How it ran

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

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create tiny tensors for testing
batch_size = 2
feature_dim = 4

# output: logits tensor (predictions), shape [batch_size, feature_dim]
output = torch.randn(batch_size, feature_dim, dtype=torch.float32)

# target: binary targets, shape [batch_size, feature_dim]
target = torch.randint(0, 2, (batch_size, feature_dim), dtype=torch.float32)

ARGS = {
    'output': output,
    'target': target,
    'gamma': 2.0,
    'alpha': 0.25,
    'reduction': 'mean',
    'normalized': False,
    'reduced_threshold': None,
    'eps': 1e-06
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () 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
isnan Ran
ran, violated the contract we drafted
matrixgame2018/FEANet/loss_hub/losses/lovasz.py
pointer only (licence: MIT); the stored copy get_code serves, from sidak/otfusion, is pointer only (licence: NONE) · get_code("5f4f4355be28c01e")
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 sidak/otfusion, 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.

softmax_focal_loss_with_logits Ran
ran on a synthesized input
matrixgame2018/FEANet/loss_hub/losses/_functional.py
code served (permissive licence) · get_code("b898a0aa68830b14")
How it ran

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

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Construct tensors for the function
batch_size = 2
num_classes = 4
spatial_dims = (3,)  # spatial dimensions

# output: Tensor of shape [B, C, *] where * can be spatial dimensions
# Here we create [2, 4, 3] - batch=2, classes=4, spatial=3
output = torch.randn(batch_size, num_classes, *spatial_dims)

# target: Tensor of shape [B, *] with class indices
# Here we create [2, 3] - batch=2, spatial=3
# Each element should be a valid class index (0 to num_classes-1)
target = torch.randint(0, num_classes, (batch_size, *spatial_dims))

# Other parameters
gamma = 2.0
reduction = 'mean'
normalized = False
reduced_threshold = None
eps = 1e-06

ARGS = {
    'output': output,
    'target': target,
    'gamma': gamma,
    'reduction': reduction,
    'normalized': normalized,
    'reduced_threshold': reduced_threshold,
    'eps': eps,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () 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
to_tensor Ran
ran on a synthesized input
matrixgame2018/FEANet/loss_hub/losses/_functional.py
code served (permissive licence) · get_code("5322bd0251d8da57")
How it ran

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

import numpy as np
import torch

torch.manual_seed(0)

# Test case 1: torch.Tensor input
tensor_input = torch.randn(2, 4)

# Test case 2: numpy array input
numpy_input = np.random.randn(2, 4).astype(np.float32)

# Test case 3: list input
list_input = [[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0]]

# dtype options
dtype_option = torch.float32

ARGS = {
    "x": tensor_input,
    "dtype": dtype_option
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mean Not yet run
unverified (harvested, no recorded run)
matrixgame2018/FEANet/loss_hub/losses/lovasz.py
code served (permissive licence) · get_code("ab905d7b509bc70c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 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
isnan 16 other papers
4 dated earlier, 12 later · 2 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
1910.05653 (2019-10)
Model Fusion via Optimal Transport
2008.07043 (2020-08)
Oriented Object Detection in Aerial Images with Box Boundary-Aware Vectors
and 13 more not named here
focal_loss_with_logits 1 other paper
1 dated earlier
2108.11250 (2021-08)
YOLOP: You Only Look Once for Panoptic Driving Perception

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

The RGB-Thermal (RGB-T) information for semantic segmentation has been extensively explored in recent years. However, most existing RGB-T semantic segmentation usually compromises spatial resolution to achieve real-time inference speed, which leads to poor performance. To better extract detail spatial information, we propose a two-stage Feature-Enhanced Attention Network (FEANet) for the RGB-T semantic segmentation task. Specifically, we introduce a Feature-Enhanced Attention Module (FEAM) to excavate and enhance multi-level features from both the channel and spatial views. Benefited from the proposed FEAM module, our FEANet can preserve the spatial information and shift more attention to high-resolution features from the fused RGB-T images. Extensive experiments on the urban scene dataset demonstrate that our FEANet outperforms other state-of-the-art (SOTA) RGB-T methods in terms of objective metrics and subjective visual comparison (+2.6% in global mAcc and +0.8% in global mIoU). For the 480 x 640 RGB-T test images, our FEANet can run with a real-time speed on an NVIDIA GeForce RTX 2080 Ti card.

For agents

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

get_harvested_code_for_paper("2110.08988")
get_code_for_paper("2110.08988")
have("2110.08988")

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

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

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

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

Connect an agent — have() is free.