SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.07615 · CVPR · 2022

Learning What Not to Segment: A New Perspective on Few-Shot Segmentation

Junwei Han, Gong Cheng, Chunbo Lang, Binfei Tu

arXiv · PDF · Open in the Atlas

Code that ran

16 of 17 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; 1 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 13 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2203.07615.json · badge: /api/ran/2203.07615.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
chunbolang/BAM canonical (classifier label)
classifier basis: plan_row
16 ran · 1 no recorded run
FunctionStatusWhere it lives
Weighted_GAP Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/BAM.py
pointer only (licence: MIT); the stored copy get_code serves, from YanFangCS/CyCTR-Pytorch, is pointer only (licence: NONE) · get_code("df77cb77dfe58d6d")
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 YanFangCS/CyCTR-Pytorch, 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/resnet.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.

find_bbox Ran
ran, honoured the contract we drafted
chunbolang/BAM/util/get_weak_anns.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("0086d054a8b3d6f3")
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 sam1224/aenet, 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.

get_gram_matrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chunbolang/BAM/model/BAM.py
pointer only (licence: MIT); the stored copy get_code serves, from wyxdm/amnet, is pointer only (licence: NONE) · get_code("7feaf1fceef927fe")
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 wyxdm/amnet, 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.

get_vgg16_layer Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/PSPNet.py
code served (permissive licence) · get_code("ad7ba6c4e516607e")
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 torch
from torch import nn

torch.manual_seed(0)

# Create a minimal VGG16-like model with a features attribute
# The function accesses model.features[idx] for idx in range(0, 43)
# So we need at least 43 layers in the features module

class MinimalVGG16(nn.Module):
    def __init__(self):
        super().__init__()
        # Create 43 simple layers to satisfy the indexing requirements
        layers = []
        for i in range(43):
            layers.append(nn.Conv2d(3, 3, kernel_size=3, padding=1))
        self.features = nn.Sequential(*layers)
    
    def forward(self, x):
        return self.features(x)

model = MinimalVGG16()

ARGS = {
    "model": model
}
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 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
is_image_file Ran
ran, violated the contract we drafted
chunbolang/BAM/util/dataset.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("0684a938c70bf564")
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 sam1224/aenet, 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.

load_cfg_from_cfg_file Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/util/config.py
code served (permissive licence) · get_code("277a13798d6d6981")
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 CfgNode. 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
import yaml

# Create a temporary YAML file for testing
temp_dir = tempfile.mkdtemp()
yaml_file = os.path.join(temp_dir, "config.yaml")

# Create a valid YAML config file with the expected structure
config_data = {
    "model": {
        "name": "test_model",
        "layers": 3,
        "hidden_dim": 64
    },
    "training": {
        "learning_rate": 0.001,
        "batch_size": 32,
        "epochs": 10
    },
    "data": {
        "dataset": "cifar10",
        "split": 0.8
    }
}

with open(yaml_file, 'w') as f:
    yaml.dump(config_data, f)

ARGS = {
    "file": yaml_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CfgNode — a CfgNode output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CfgNode 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
make_GFSS_dataset Ran
ran on a synthesized input
chunbolang/BAM/util/dataset.py
code served (permissive licence) · get_code("6bf9093839138e39")
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 os
import tempfile
import cv2
import numpy as np

# Create a temporary directory for test data
temp_dir = tempfile.mkdtemp()

# Create minimal test image and label files
def create_test_image(path, shape=(10, 10)):
    img = np.random.randint(0, 256, shape, dtype=np.uint8)
    cv2.imwrite(path, img)

def create_test_label(path, classes):
    label = np.zeros((10, 10), dtype=np.uint8)
    for i, c in enumerate(classes):
        label[i:i+2, i:i+2] = c
    cv2.imwrite(path, label)

# Create test images and labels
img_dir = os.path.join(temp_dir, 'images')
label_dir = os.path.join(temp_dir, 'labels')
os.makedirs(img_dir, exist_ok=True)
os.makedirs(label_dir, exist_ok=True)

# Create image and label pairs with specific classes
image_files = []
for i in range(3):
    img_path = os.path.join(img_dir, f'img_{i}.png')
    label_path = os.path.join(label_dir, f'label_{i}.png')
    create_test_image(img_path, (10, 10))
    # Use classes 1, 2, 3 for different images
    classes = [1, 2] if i == 0 else ([2, 3] if i == 1 else [1, 3])
    create_test_label(label_path, classes)
    image_files.append((f'images/img_{i}.png', f'labels/label_{i}.png'))

# Create data list file
data_list_path = os.path.join(temp_dir, 'data_list.txt')
with open(data_list_path, 'w') as f:
    for img_file, label_file in image_files:
        f.write(f'{img_file} {label_file}\n')

ARGS = {
    'split': 0,
    'data_root': temp_dir,
    'data_list': data_list_path,
    'sub_list': [1, 2, 3],
    'sub_val_list': [1, 2, 3]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, tqdm — 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
make_dataset Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chunbolang/BAM/util/dataset.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("8f6dc933d4638855")
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 sam1224/aenet, 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.

make_layers Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/vgg.py
code served (permissive licence) · get_code("e31250b969b51841")
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 Sequential. 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)

# Define the cfg dict from the function
cfg_dict = {
    'A': [64, 'M', 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'],
    'B': [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'],
    'D': [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 'M', 512, 512, 512, 'M', 512, 512, 512, 'M'],
    'E': [64, 64, 'M', 128, 128, 'M', 256, 256, 256, 256, 'M', 512, 512, 512, 512, 'M', 512, 512, 512, 512, 'M']
}

# Test with a simple configuration list
test_cfg = [64, 'M', 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M']

ARGS = {
    'cfg': test_cfg,
    'batch_norm': False
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
merge_cfg_from_args Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/util/config.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("32a3d5463ef45125")
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 sam1224/aenet, 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/resnet.py
code served (permissive licence) · get_code("40a78e38251055c6")
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 ResNet. 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)

ARGS = {
    'pretrained': False,
}
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 ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
resnet34 Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/resnet.py
code served (permissive licence) · get_code("4f6dd0ac332dd50d")
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 ResNet. 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)

ARGS = {
    'pretrained': False,
}
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 ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
transform_anns Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chunbolang/BAM/util/get_weak_anns.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("ac2dc4c99bd03a34")
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 sam1224/aenet, 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.

vgg11 Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/vgg.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/hmnet, is pointer only (licence: NOASSERTION) · get_code("2067e75510fbe85e")
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 sam1224/hmnet, 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.

vgg11_bn Ran
ran; our contract draft was wrong, not the code
chunbolang/BAM/model/vgg.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/hmnet, is pointer only (licence: NOASSERTION) · get_code("bf96fb236a6b1683")
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 sam1224/hmnet, 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.

merge_cfg_from_list Not yet run
unverified (harvested, no recorded run)
chunbolang/BAM/util/config.py
pointer only (licence: MIT); the stored copy get_code serves, from sam1224/aenet, is pointer only (licence: NOASSERTION) · get_code("b925dc5fd8492c34")
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 sam1224/aenet, 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. No invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 16 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 5 the same month, 16 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
374 dated earlier, 11 the same month, 290 later, 11 same year, order not determinable · 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
resnet18 89 other papers
46 dated earlier, 2 the same month, 39 later, 2 same year, order not determinable
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 86 more not named here
resnet34 53 other papers
36 dated earlier, 1 the same month, 14 later, 2 same year, order not determinable
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 50 more not named here
merge_cfg_from_list 23 other papers
3 dated earlier, 1 the same month, 19 later
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2111.15174 (2021-11)
CRIS: CLIP-Driven Referring Image Segmentation
and 20 more not named here
load_cfg_from_cfg_file 22 other papers
3 dated earlier, 1 the same month, 18 later
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2111.15174 (2021-11)
CRIS: CLIP-Driven Referring Image Segmentation
and 19 more not named here
Weighted_GAP 12 other papers
2 dated earlier, 10 later
2106.02320 (2021-06)
Few-Shot Segmentation via Cycle-Consistent Transformer
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2204.09903 (2022-04)
Beyond the Prototype: Divide-and-conquer Proxies for Few-shot Segmentation
and 9 more not named here
vgg11 10 other papers
3 dated earlier, 6 later, 1 same year, order not determinable
1610.02391 (2016-10)
Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization
1904.03441 (2019-04)
Iterative Normalization: Beyond Standardization towards Efficient Whitening
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
and 7 more not named here
vgg11_bn 9 other papers
2 dated earlier, 6 later, 1 same year, order not determinable
1904.03441 (2019-04)
Iterative Normalization: Beyond Standardization towards Efficient Whitening
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
136780474 (2022 (year only))
Hourglass Attention Network for Image Inpainting
and 6 more not named here
get_vgg16_layer 6 other papers
1 dated earlier, 5 later
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2204.09903 (2022-04)
Beyond the Prototype: Divide-and-conquer Proxies for Few-shot Segmentation
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
and 3 more not named here
get_gram_matrix 5 other papers
5 later
2206.09667 (2022-06)
MSANet: Multi-Similarity and Attention Guidance for Boosting Few-Shot Segmentation
2306.11734 (2023-06)
Few-Shot Rotation-Invariant Aerial Image Semantic Segmentation
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
and 2 more not named here
is_image_file 5 other papers
2 dated earlier, 3 later
2003.13328 (2020-03)
Strip Pooling: Rethinking Spatial Pooling for Scene Parsing
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2210.06780 (2022-10)
Intermediate Prototype Mining Transformer for Few-Shot Semantic Segmentation
and 2 more not named here
make_layers 5 other papers
1 dated earlier, 4 later
2108.05293 (2021-08)
Few-Shot Segmentation with Global and Local Contrastive Learning
2204.09903 (2022-04)
Beyond the Prototype: Divide-and-conquer Proxies for Few-shot Segmentation
2402.17726 (2024-02)
VRP-SAM: SAM with Visual Reference Prompt
and 2 more not named here
find_bbox 2 other papers
2 later
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
make_dataset 2 other papers
2 later
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
merge_cfg_from_args 2 other papers
2 later
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot Segmentation
transform_anns 2 other papers
2 later
2311.17626 (2023-11)
Focus on Query: Adversarial Mining Transformer for Few-Shot Segmentation
2407.09842 (2024-07)
Eliminating Feature Ambiguity for Few-Shot 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

Recently few-shot segmentation (FSS) has been extensively developed. Most previous works strive to achieve generalization through the meta-learning framework derived from classification tasks; however, the trained models are biased towards the seen classes instead of being ideally class-agnostic, thus hindering the recognition of new concepts. This paper proposes a fresh and straightforward insight to alleviate the problem. Specifically, we apply an additional branch (base learner) to the conventional FSS model (meta learner) to explicitly identify the targets of base classes, i.e., the regions that do not need to be segmented. Then, the coarse results output by these two learners in parallel are adaptively integrated to yield precise segmentation prediction. Considering the sensitivity of meta learner, we further introduce an adjustment factor to estimate the scene differences between the input image pairs for facilitating the model ensemble forecasting. The substantial performance gains on PASCAL-5 i and COCO-20 i verify the effectiveness, and surprisingly, our versatile scheme sets a new state-of-the-art even with two plain learners. Moreover, in light of the unique nature of the proposed approach, we also extend it to a more realistic but challenging setting, i.e., generalized FSS, where the pixels of both base and novel classes are required to be determined. The source code is available at github.com/chunbolang/BAM.

For agents

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

get_harvested_code_for_paper("2203.07615")
get_code_for_paper("2203.07615")
have("2203.07615")

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

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

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

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

Connect an agent — have() is free.