SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1809.02983 · 2018

Dual Attention Network for Scene Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 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 4 have no contract verdict; 1 failure of our instrument; 2 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/1809.02983.json · badge: /api/ran/1809.02983.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
junfu1115/DANet canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
get_city_pairs Ran
ran on a synthesized input
junfu1115/DANet/encoding/datasets/cityscapes_v0.py
pointer only (licence: MIT) · get_code("ccb24f9418500942")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, junfu1115/DANet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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_city_pairs Ran
ran on a synthesized input
junfu1115/DANet/encoding/datasets/cityscapes.py
pointer only (licence: MIT) · get_code("ba3e7aabcdfce646")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, junfu1115/DANet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

rename_weight_for_head Ran
ran on a synthesized input
junfu1115/DANet/experiments/segmentation/model_mapping.py
pointer only (licence: MIT) · get_code("eb69f67b45ca28a7")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, junfu1115/DANet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

short_hash Ran
ran; our contract draft was wrong, not the code
junfu1115/DANet/encoding/models/model_store.py
pointer only (licence: MIT) · get_code("e8e7fc06d9a54bbc")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, junfu1115/DANet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

test_batchify_fn Ran
ran on a synthesized input
junfu1115/DANet/encoding/datasets/base.py
pointer only (licence: MIT) · get_code("f8b881dae14f02c3")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, junfu1115/DANet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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_deepten Not yet run
unverified (harvested, no recorded run)
junfu1115/DANet/encoding/models/deepten.py
code served (permissive licence) · get_code("d8fa6abe733ae073")
How it ran

no invocation recorded.

get_deepten_resnet50_minc Not yet run
unverified (harvested, no recorded run)
junfu1115/DANet/encoding/models/deepten.py
code served (permissive licence) · get_code("a67af4c02a68b8dd")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 3 later) and 2 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
short_hash 11 other papers
1 dated earlier, 10 later
1803.08904 (2018-03)
Context Encoding for Semantic Segmentation
1905.00641 (2019-05)
RetinaFace: Single-stage Dense Face Localisation in the Wild
1905.06368 (2019-05)
Collaborative Global-Local Networks for Memory-Efficient Segmentation of Ultra-High Resolution Images
and 8 more not named here
get_city_pairs 2 other papers
1 dated earlier, 1 later
1803.08904 (2018-03)
Context Encoding for Semantic Segmentation
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
get_deepten 2 other papers
2 dated earlier
1612.02844 (2016-12)
Deep TEN: Texture Encoding Network
1803.08904 (2018-03)
Context Encoding for Semantic Segmentation
get_deepten_resnet50_minc 2 other papers
2 dated earlier
1612.02844 (2016-12)
Deep TEN: Texture Encoding Network
1803.08904 (2018-03)
Context Encoding for Semantic Segmentation
test_batchify_fn 2 other papers
1 dated earlier, 1 later
1803.08904 (2018-03)
Context Encoding for Semantic Segmentation
1909.00179 (2019-09)
Boundary-Aware Feature Propagation for Scene 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-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

In this paper, we address the scene segmentation task by capturing rich contextual dependencies based on the selfattention mechanism. Unlike previous works that capture contexts by multi-scale features fusion, we propose a Dual Attention Networks (DANet) to adaptively integrate local features with their global dependencies. Specifically, we append two types of attention modules on top of traditional dilated FCN, which model the semantic interdependencies in spatial and channel dimensions respectively. The position attention module selectively aggregates the features at each position by a weighted sum of the features at all positions. Similar features would be related to each other regardless of their distances. Meanwhile, the channel attention module selectively emphasizes interdependent channel maps by integrating associated features among all channel maps. We sum the outputs of the two attention modules to further improve feature representation which contributes to more precise segmentation results. We achieve new state-of-the-art segmentation performance on three challenging scene segmentation datasets, i.e., Cityscapes, PASCAL Context and COCO Stuff dataset. In particular, a Mean IoU score of 81.5% on Cityscapes test set is achieved without using coarse data. We make the code and trained model publicly available at https://github.com/junfu1115/DANet

For agents

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

get_harvested_code_for_paper("1809.02983")
get_code_for_paper("1809.02983")
have("1809.02983")

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

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

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

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

Connect an agent — have() is free.