SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1811.11721 · 2018

CCNet: Criss-Cross Attention for Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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; 2 honoured the contract we drafted, 1 violated it and 4 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/1811.11721.json · badge: /api/ran/1811.11721.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
speedinghzl/CCNet canonical (classifier label)
classifier basis: plan_row
8 ran · 1 no recorded run
justld/CCNet_paddle community (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
FunctionStatusWhere it lives
INF Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
speedinghzl/CCNet/cc_attention/functions.py
pointer only (licence: MIT); the stored copy get_code serves, from DerrickXuNu/OpenCOOD, is pointer only (licence: NOASSERTION) · get_code("349015c9fdf7266b")
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 DerrickXuNu/OpenCOOD, and GitHub could not classify the licence of that repository (NOASSERTION). 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
speedinghzl/CCNet/networks/ccnet.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.

flip_combination Ran
ran on a synthesized input
justld/CCNet_paddle/paddleseg/core/infer.py
code served (permissive licence) · get_code("95bccf5957a196e4")
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 2, 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.

# Setup code for flip_combination function

ARGS = {
    "flip_horizontal": False,
    "flip_vertical": False,
}
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 2, 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
get_palette Ran
ran, honoured the contract we drafted
speedinghzl/CCNet/evaluate.py
code served (permissive licence) · get_code("26664d79586aad5a")
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 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

def get_palette(num_cls):
    """ Returns the color map for visualizing the segmentation mask.
    Args:
        num_cls: Number of classes
    Returns:
        The color map
    """
    n = num_cls
    palette = [0] * (n * 3)
    for j in range(0, n):
        lab = j
        palette[j * 3 + 0] = 0
        palette[j * 3 + 1] = 0
        palette[j * 3 + 2] = 0
        i = 0
        while lab:
            palette[j * 3 + 0] |= (lab >> 0 & 1) << 7 - i
            palette[j * 3 + 1] |= (lab >> 1 & 1) << 7 - i
            palette[j * 3 + 2] |= (lab >> 2 & 1) << 7 - i
            i += 1
            lab >>= 3
    return palette

ARGS = {
    "num_cls": 5
}
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 list, ndim 1, dtype family int — 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
get_reverse_list Ran
ran on a synthesized input
justld/CCNet_paddle/paddleseg/core/infer.py
code served (permissive licence) · get_code("a5dbdd4f2d59692e")
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. 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

class Resize:
    def __init__(self, target_size):
        self.target_size = target_size

class ResizeByLong:
    def __init__(self, long_size):
        self.long_size = long_size

class ResizeByShort:
    def __init__(self, short_size):
        self.short_size = short_size

class Padding:
    def __init__(self, target_size):
        self.target_size = target_size

class PaddingByAspectRatio:
    def __init__(self, aspect_ratio):
        self.aspect_ratio = aspect_ratio

class LimitLong:
    def __init__(self, max_long=None, min_long=None):
        self.max_long = max_long
        self.min_long = min_long

ori_shape = [480, 640]

transforms = [
    Resize((384, 512)),
    ResizeByLong(600),
    ResizeByShort(300),
    Padding((400, 400)),
    PaddingByAspectRatio(1.5),
    LimitLong(max_long=800, min_long=100),
]

ARGS = {
    "ori_shape": ori_shape,
    "transforms": transforms,
}
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 list — a list 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_test_config Ran
ran on a synthesized input
justld/CCNet_paddle/predict.py
code served (permissive licence) · get_code("0b3ec74bd2e5ed5d")
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 torch

torch.manual_seed(0)

class MockConfig:
    def __init__(self):
        self.test_config = {
            'aug_pred': False,
            'scales': [1.0],
            'flip_horizontal': False,
            'flip_vertical': False,
            'is_slide': False,
            'crop_size': 512,
            'stride': 256,
            'custom_color': False
        }

class MockArgs:
    def __init__(self):
        self.aug_pred = True
        self.scales = [0.5, 1.0, 1.5]
        self.flip_horizontal = True
        self.flip_vertical = False
        self.is_slide = True
        self.crop_size = 768
        self.stride = 384
        self.custom_color = True

cfg = MockConfig()
args = MockArgs()

ARGS = {
    'cfg': cfg,
    'args': args
}
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 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
get_test_config Ran
ran on a synthesized input
justld/CCNet_paddle/val.py
code served (permissive licence) · get_code("0c97512ed5e1d7e1")
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 torch
import torch.nn as nn

torch.manual_seed(0)

class ConfigClass:
    def __init__(self):
        self.test_config = {
            'aug_eval': False,
            'scales': [1.0],
            'flip_horizontal': False,
            'flip_vertical': False,
            'is_slide': False,
            'crop_size': 256,
            'stride': 128
        }

class ArgsClass:
    def __init__(self):
        self.aug_eval = True
        self.scales = [0.5, 1.0, 1.5]
        self.flip_horizontal = True
        self.flip_vertical = False
        self.is_slide = True
        self.crop_size = 512
        self.stride = 256

cfg = ConfigClass()
args = ArgsClass()

ARGS = {
    'cfg': cfg,
    'args': args
}
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 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
iou Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
speedinghzl/CCNet/loss/lovasz_losses.py
code served (permissive licence) · get_code("d94639b28b2134ff")
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 1, dtype family float, shape (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)

# Construct valid arguments for the iou function
# preds: prediction array/tensor with class indices
# labels: ground truth array/tensor with class indices
# C: number of classes
# EMPTY: value to return for empty unions (default 1.0)
# ignore: class index to ignore (default None)
# per_image: whether to compute per-image IoU (default False)

# Create small prediction and label arrays
# Using shape (2, 4) - batch of 2, spatial dimension of 4
preds = np.array([[0, 1, 2, 3],
                   [1, 2, 0, 1]], dtype=np.int64)

labels = np.array([[0, 1, 1, 3],
                    [1, 2, 2, 1]], dtype=np.int64)

# Number of classes
C = 4

# EMPTY value for classes with no union
EMPTY = 1.0

# Class to ignore during computation
ignore = None

# Whether to compute per-image IoU
per_image = False

ARGS = {
    "preds": preds,
    "labels": labels,
    "C": C,
    "EMPTY": EMPTY,
    "ignore": ignore,
    "per_image": per_image
}
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 ndarray, ndim 1, dtype family float, shape (4,) — shape (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
iou_binary Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
speedinghzl/CCNet/loss/lovasz_losses.py
code served (permissive licence) · get_code("1211530cd527bd0b")
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 float, 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 numpy as np

def isnan(x):
    return x != x

def mean(l, ignore_nan=False, empty=0):
    """
    nanmean compatible with generators.
    """
    l = iter(l)
    if ignore_nan:
        from itertools import filterfalse
        l = filterfalse(isnan, l)
    try:
        n = 1
        acc = next(l)
    except StopIteration:
        if empty == 'raise':
            raise ValueError('Empty mean')
        return empty
    for n, v in enumerate(l, 2):
        acc += v
    if n == 1:
        return acc
    return acc / n

def iou_binary(preds, labels, EMPTY=1.0, ignore=None, per_image=True):
    """
    IoU for foreground class
    binary: 1 foreground, 0 background
    """
    if not per_image:
        preds, labels = ((preds,), (labels,))
    ious = []
    for pred, label in zip(preds, labels):
        intersection = ((label == 1) & (pred == 1)).sum()
        union = ((label == 1) | (pred == 1) & (label != ignore)).sum()
        if not union:
            iou = EMPTY
        else:
            iou = float(intersection) / float(union)
        ious.append(iou)
    iou = mean(ious)
    return 100 * iou

# Setup code
np.random.seed(0)

# Create small prediction and label arrays for binary segmentation
# Shape: (height=4, width=3) for two images
preds_img1 = np.array([[0, 1, 1],
                       [1, 1, 0],
                       [0, 1, 1],
                       [1, 0, 0]], dtype=np.int32)

labels_img1 = np.array([[0, 1, 0],
                        [1, 1, 1],
                        [0, 1, 0],
                        [1, 0, 1]], dtype=np.int32)

preds_img2 = np.array([[1, 1, 0],
                       [0, 1, 1],
                       [1, 1, 0],
                       [0, 0, 1]], dtype=np.int32)

labels_img2 = np.array([[1, 0, 0],
                        [0, 1, 1],
                        [1, 0, 0],
                        [0, 1, 1]], dtype=np.int32)

# Arguments for iou_binary function
ARGS = {
    'preds': np.array([preds_img1, preds_img2]),
    'labels': np.array([labels_img1, labels_img2]),
    'EMPTY': 1.0,
    'ignore': 0,
    'per_image': True,
}
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 float, 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
lovasz_grad Ran
ran, violated the contract we drafted
speedinghzl/CCNet/loss/lovasz_losses.py
code served (permissive licence) · get_code("e85b5d21dc5b8382")
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 1, dtype family float, shape (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 torch

torch.manual_seed(0)

# gt_sorted should be a 1D tensor of binary/boolean values
# representing ground truth sorted by some error metric
# The function expects a tensor with sum(), float(), cumsum() methods
gt_sorted = torch.tensor([0, 0, 1, 1], dtype=torch.long)

ARGS = {
    "gt_sorted": gt_sorted
}
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 1, dtype family float, shape (4,) — shape (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
outS Ran
ran, honoured the contract we drafted
speedinghzl/CCNet/networks/ccnet.py
pointer only (licence: MIT); the stored copy get_code serves, from stu92054/Domain-adaptation-on-segmentation, is pointer only (licence: NONE) · get_code("27504cbeb5811ea6")
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 stu92054/Domain-adaptation-on-segmentation, 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.

pad_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
speedinghzl/CCNet/evaluate.py
code served (permissive licence) · get_code("6ec02fe7ffee8530")
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 4, dtype family float, shape (2, 3, 6, 8) 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 a small test image with shape (batch, channels, height, width)
# Using distinct dimensions: batch=2, channels=3, height=4, width=5
img = np.random.rand(2, 3, 4, 5).astype(np.float32)

# Target size is (height, width) - we'll pad to larger dimensions
target_size = (6, 8)

ARGS = {
    "img": img,
    "target_size": target_size,
}
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 4, dtype family float, shape (2, 3, 6, 8) — shape (2, 3, 6, 8) 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
partition_list Ran
ran; our contract draft was wrong, not the code
justld/CCNet_paddle/paddleseg/core/predict.py
code served (permissive licence) · get_code("2f75a098ce9f7b0e")
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) and returned list. 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 math

def partition_list(arr, m):
    """split the list 'arr' into m pieces"""
    n = int(math.ceil(len(arr) / float(m)))
    return [arr[i:i + n] for i in range(0, len(arr), n)]

# Setup code
arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
m = 3

ARGS = {
    "arr": arr,
    "m": m
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 — a list 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
predict_sliding Not yet run
unverified (harvested, no recorded run)
speedinghzl/CCNet/evaluate.py
code served (permissive licence) · get_code("e3543651d7594983")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 13 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 3 the same month, 11 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
conv3x3 686 other papers
72 dated earlier, 6 the same month, 608 later · 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
lovasz_grad 40 other papers
2 dated earlier, 38 later · 1 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
1905.06368 (2019-05)
Collaborative Global-Local Networks for Memory-Efficient Segmentation of Ultra-High Resolution Images
and 37 more not named here
iou 24 other papers
1 dated earlier, 23 later
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
2003.10778 (2020-03)
PanNuke Dataset Extension, Insights and Baselines
2003.13948 (2020-03)
Segmenting Transparent Objects in the Wild
and 21 more not named here
iou_binary 24 other papers
1 dated earlier, 23 later
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
2003.10778 (2020-03)
PanNuke Dataset Extension, Insights and Baselines
2003.13948 (2020-03)
Segmenting Transparent Objects in the Wild
and 21 more not named here
outS 11 other papers
3 dated earlier, 8 later
1612.02646 (2016-12)
Learning Video Object Segmentation from Static Images
1802.10349 (2018-02)
Learning to Adapt Structured Output Space for Semantic Segmentation
1809.09478 (2018-09)
Taking A Closer Look at Domain Shift: Category-level Adversaries for Semantics Consistent Domain Adaptation
and 8 more not named here
get_palette 8 other papers
1 dated earlier, 7 later
1703.07511 (2017-03)
Deep Photo Style Transfer
1903.04197 (2019-03)
Structured Knowledge Distillation for Dense Prediction
1910.09777 (2019-10)
Self-Correction for Human Parsing
and 5 more not named here
partition_list 8 other papers
4 dated earlier, 1 the same month, 3 later
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
and 5 more not named here
flip_combination 7 other papers
4 dated earlier, 1 the same month, 2 later
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
and 4 more not named here
pad_image 4 other papers
4 later
1903.04197 (2019-03)
Structured Knowledge Distillation for Dense Prediction
2003.00872 (2020-03)
AlignSeg: Feature-Aligned Segmentation Networks
2007.04269 (2020-07)
SegFix: Model-Agnostic Boundary Refinement for Segmentation
and 1 more not named here
INF 2 other papers
2 later
2008.07519 (2020-08)
V2VNet: Vehicle-to-Vehicle Communication for Joint Perception and Prediction
ijcai2022_0196 (2022 (year only))
KUNet: Imaging Knowledge-Inspired Single HDR Image Reconstruction
get_reverse_list 2 other papers
2 dated earlier
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1808.00897 (2018-08)
BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentation
get_test_config 2 other papers
2 dated earlier
1803.06815 (2018-03)
ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation
1808.00897 (2018-08)
BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentation
predict_sliding 1 other paper
1 later
2003.00872 (2020-03)
AlignSeg: Feature-Aligned Segmentation Networks

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

Repositories linked to this paper

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

Abstract

Contextual information is vital in visual understanding problems, such as semantic segmentation and object detection. We propose a Criss-Cross Network (CCNet) for obtaining full-image contextual information in a very effective and efficient way. Concretely, for each pixel, a novel criss-cross attention module harvests the contextual information of all the pixels on its criss-cross path. By taking a further recurrent operation, each pixel can finally capture the full-image dependencies. Besides, a category consistent loss is proposed to enforce the criss-cross attention module to produce more discriminative features. Overall, CCNet is with the following merits: 1) GPU memory friendly. Compared with the non-local block, the proposed recurrent criss-cross attention module requires 11x less GPU memory usage. 2) High computational efficiency. The recurrent criss-cross attention significantly reduces FLOPs by about 85% of the non-local block. 3) The state-of-the-art performance. We conduct extensive experiments on semantic segmentation benchmarks including Cityscapes, ADE20K, human parsing benchmark LIP, instance segmentation benchmark COCO, video segmentation benchmark CamVid. In particular, our CCNet achieves the mIoU scores of 81.9%, 45.76% and 55.47% on the Cityscapes test set, the ADE20K validation set and the LIP validation set respectively, which are the new state-of-the-art results. The source codes are available at \url{https://github.com/speedinghzl/CCNet}.

For agents

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

get_harvested_code_for_paper("1811.11721")
get_code_for_paper("1811.11721")
have("1811.11721")

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

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

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

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

Connect an agent — have() is free.