SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.05312 · CVPR · 2021

Incremental Few-Shot Instance Segmentation

Ronald Poppe, Dan Ganea

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2105.05312.json · badge: /api/ran/2105.05312.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
danganea/iMTFA canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
build_metadata_from_subsplit_COCO Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
danganea/iMTFA/OurPaper/dataset.py
pointer only (licence: Apache-2.0) · get_code("a450cf1cf2c15688")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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.

convert_basic_c2_names Ran
ran; our contract draft was wrong, not the code
danganea/iMTFA/detectron2/checkpoint/c2_model_loading.py
pointer only (licence: Apache-2.0) · get_code("e8526a516b4f9206")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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.

convert_c2_detectron_names Ran
ran; our contract draft was wrong, not the code
danganea/iMTFA/detectron2/checkpoint/c2_model_loading.py
pointer only (licence: Apache-2.0) · get_code("52810b504f0d1066")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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_COCO_subsplit Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
danganea/iMTFA/OurPaper/dataset.py
pointer only (licence: Apache-2.0) · get_code("78cc0e83f654df22")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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_lastlayer_cls_score_bias Ran
ran, honoured the contract we drafted
danganea/iMTFA/OurPaper/training.py
pointer only (licence: Apache-2.0) · get_code("40d68dcf4b8e2a66")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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_lastlayer_mask_weights Ran
ran; our contract draft was wrong, not the code
danganea/iMTFA/OurPaper/training.py
pointer only (licence: Apache-2.0) · get_code("2d3d6103cb285053")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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_lastlayers_model_weights Ran
ran; our contract draft was wrong, not the code
danganea/iMTFA/OurPaper/training.py
pointer only (licence: Apache-2.0) · get_code("3560dd177ffcaeea")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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_save_path_seeds Ran
ran on a synthesized input
danganea/iMTFA/datasets/prepare_coco_few_shot.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from nvakhoa/superclass-fsis, is pointer only (licence: Apache-2.0) · get_code("fb6b8ecbce0b82a0")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, danganea/iMTFA, 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.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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 5 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
convert_basic_c2_names 45 other papers
15 dated earlier, 30 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 42 more not named here
convert_c2_detectron_names 29 other papers
14 dated earlier, 15 later
1703.06870 (2017-03)
Mask R-CNN
1804.08864 (2018-04)
Learning to See the Invisible: End-to-End Trainable Amodal Instance Segmentation
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
and 26 more not named here
get_save_path_seeds 1 other paper
1 later
2304.07459 (2023-04)
Instance-level Few-shot Learning with Class Hierarchy Mining

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

Few-shot instance segmentation methods are promising when labeled training data for novel classes is scarce. However, current approaches do not facilitate flexible addition of novel classes. They also require that examples of each class are provided at train and test time, which is memory intensive. In this paper, we address these limitations by presenting the first incremental approach to few-shot instance segmentation: iMTFA. We learn discriminative embeddings for object instances that are merged into class representatives. Storing embedding vectors rather than images effectively solves the memory overhead problem. We match these class embeddings at the RoI-level using cosine similarity. This allows us to add new classes without the need for further training or access to previous training data. In a series of experiments, we consistently outperform the current stateof-the-art. Moreover, the reduced memory requirements allow us to evaluate, for the first time, few-shot instance segmentation performance on all classes in COCO jointly 1 .

For agents

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

get_harvested_code_for_paper("2105.05312")
get_code_for_paper("2105.05312")
have("2105.05312")

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

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

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

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

Connect an agent — have() is free.