SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.10886 · CVPR · 2021

VS-Net: Voting with Segmentation for Visual Localization

Hongsheng Li, Hong Kong, Yan Xu, Hujun Bao, Zhaoyang Huang, Xiaowei Zhou, Guofeng Zhang, Han Zhou, Bangbang Yang, Yijin Li

arXiv · PDF · Open in the Atlas

Code that ran

8 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 5 have no contract verdict; 1 failure of our instrument; 7 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.10886.json · badge: /api/ran/2105.10886.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
zju3dv/VS-Net community
Papers with Code archive
8 ran · 7 no recorded run
FunctionStatusWhere it lives
FutureResult Ran
ran on a synthesized input · constructed an object; no result was computed
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("7dc23d18929cb6b1")
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 an instance of its own class, FutureResult: the run constructed the object and did not call it, so no result was computed. 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 threading

class FutureResult(object):
    """A thread-safe future implementation. Used only as one-to-one pipe."""

    def __init__(self):
        self._result = None
        self._lock = threading.Lock()
        self._cond = threading.Condition(self._lock)

    def put(self, result):
        with self._lock:
            assert self._result is None, 'Previous result has"t been fetched.'
            self._result = result
            self._cond.notify()

    def get(self):
        with self._lock:
            if self._result is None:
                self._cond.wait()
            res = self._result
            self._result = None
            return res


ARGS = {}
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 FutureResult — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FutureResult 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
SlavePipe Ran
ran on a synthesized input · constructed an object; no result was computed
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("e75aa93b78286d50")
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 an instance of its own class, SlavePipe: the run constructed the object and did not call it, so no result was computed. 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 collections
import queue

_SlavePipeBase = collections.namedtuple('_SlavePipeBase', ['identifier', 'queue', 'result'])

class SlavePipe(_SlavePipeBase):
    """Pipe for master-slave communication."""

    def run_slave(self, msg):
        self.queue.put((self.identifier, msg))
        ret = self.result.get()
        self.queue.put(True)
        return ret

# Set up the arguments
identifier = "slave_1"
msg_queue = queue.Queue()
result_queue = queue.Queue()

# Pre-populate result queue with a test return value
result_queue.put("test_result")

ARGS = {
    'identifier': identifier,
    'queue': msg_queue,
    'result': result_queue
}
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 SlavePipe — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SlavePipe 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
SyncMaster Ran
ran on a synthesized input · constructed an object; no result was computed
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("0178fefa2f59ec8a")
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 an instance of its own class, SyncMaster: the run constructed the object and did not call it, so no result was computed. 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 collections
import queue
import threading
import torch

class FutureResult(object):
    """A thread-safe future implementation. Used only as one-to-one pipe."""

    def __init__(self):
        self._result = None
        self._lock = threading.Lock()
        self._cond = threading.Condition(self._lock)

    def put(self, result):
        with self._lock:
            assert self._result is None, 'Previous result has"t been fetched.'
            self._result = result
            self._cond.notify()

    def get(self):
        with self._lock:
            if self._result is None:
                self._cond.wait()
            res = self._result
            self._result = None
            return res

_MasterRegistry = collections.namedtuple('MasterRegistry', ['result'])

_SlavePipeBase = collections.namedtuple('_SlavePipeBase', ['identifier', 'queue', 'result'])

class SlavePipe(_SlavePipeBase):
    """Pipe for master-slave communication."""

    def run_slave(self, msg):
        self.queue.put((self.identifier, msg))
        ret = self.result.get()
        self.queue.put(True)
        return ret

class SyncMaster(object):
    """An abstract `SyncMaster` object.
    - During the replication, as the data parallel will trigger an callback of each module, all slave devices should
    call `register(id)` and obtain an `SlavePipe` to communicate with the master.
    - During the forward pass, master device invokes `run_master`, all messages from slave devices will be collected,
    and passed to a registered callback.
    - After receiving the messages, the master device should gather the information and determine to message passed
    back to each slave devices.
    """

    def __init__(self, master_callback):
        """
        Args:
            master_callback: a callback to be invoked after having collected messages from slave devices.
        """
        self._master_callback = master_callback
        self._queue = queue.Queue()
        self._registry = collections.OrderedDict()
        self._activated = False

    def __getstate__(self):
        return {'master_callback': self._master_callback}

    def __setstate__(self, state):
        self.__init__(state['master_callback'])

    def register_slave(self, identifier):
        """
        Register an slave device.
        Args:
            identifier: an identifier, usually is the device id.
        Returns: a `SlavePipe` object which can be used to communicate with the master device.
        """
        if self._activated:
            assert self._queue.empty(), 'Queue is not clean before next initialization.'
            self._activated = False
            self._registry.clear()
        future = FutureResult()
        self._registry[identifier] = _MasterRegistry(future)
        return SlavePipe(identifier, self._queue, future)

    def run_master(self, master_msg):
        """
        Main entry for the master device in each forward pass.
        The messages were first collected from each devices (including the master device), and then
        an callback will be invoked to compute the message to be sent back to each devices
        (including the master device).
        Args:
            master_msg: the message that the master want to send to itself. This will be placed as the first
            message when calling `master_callback`. For detailed usage, see `_SynchronizedBatchNorm` for an example.
        Returns: the message to be sent back to the master device.
        """
        self._activated = True
        intermediates = [(0, master_msg)]
        for i in range(self.nr_slaves):
            intermediates.append(self._queue.get())
        results = self._master_callback(intermediates)
        assert results[0][0] == 0, 'The first result should belongs to the master.'
        for i, res in results:
            if i == 0:
                continue
            self._registry[i].result.put(res)
        for i in range(self.nr_slaves):
            assert self._queue.get() is True
        return results[0][1]

    @property
    def nr_slaves(self):
        return len(self._registry)


def example_master_callback(intermediates):
    """
    Example callback that processes messages from all devices.
    Expects a list of tuples (device_id, message).
    Returns a list of tuples (device_id, response_message).
    """
    results = []
    for device_id, msg in intermediates:
        if isinstance(msg, torch.Tensor):
            response = msg * 2
        else:
            response = msg
        results.append((device_id, response))
    return results


torch.manual_seed(0)

ARGS = {
    'master_callback': example_master_callback
}
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 SyncMaster — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SyncMaster 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
SynchronizedBatchNorm2d Ran
ran on a synthesized input · constructed an object; no result was computed
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("4aa7bfaba5716143")
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 an instance of its own class, SynchronizedBatchNorm2d: the run constructed the object and did not call it, so no result was computed. 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)

# The function signature is _SynchronizedBatchNorm.__init__, which takes:
# num_features, eps, momentum, affine

ARGS = {
    'num_features': 4,
    'eps': 1e-05,
    'momentum': 0.1,
    'affine': True
}
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 SynchronizedBatchNorm2d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SynchronizedBatchNorm2d 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
_SynchronizedBatchNorm Ran
ran on a synthesized input · constructed an object; no result was computed
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("7457f764be2878a2")
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 an instance of its own class, _SynchronizedBatchNorm: the run constructed the object and did not call it, so no result was computed. 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 = {
    'num_features': 4,
    'eps': 1e-05,
    'momentum': 0.1,
    'affine': True,
}
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 _SynchronizedBatchNorm — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a _SynchronizedBatchNorm 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
_sum_ft Ran
ran, violated the contract we drafted
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("3151cee68a1020dc")
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)

# The function _sum_ft takes a tensor and:
# 1. Calls .sum(dim=0) to sum over first dimension
# 2. Calls .sum(dim=-1) to sum over last dimension
# So we need a tensor with at least 2 dimensions

# Create a 3D tensor with distinct sizes: (batch=2, features=4, sequence=3)
tensor = torch.randn(2, 4, 3)

ARGS = {
    "tensor": tensor
}
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
_unsqueeze_ft Ran
ran, honoured the contract we drafted
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("1efd43bcf31727c0")
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 4, dtype family float, shape (1, 2, 4, 1) 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)

# The function takes a tensor and adds dimensions at front and back
# We need a simple tensor to demonstrate this
tensor = torch.randn(2, 4)

ARGS = {
    "tensor": tensor
}
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 4, dtype family float, shape (1, 2, 4, 1) — shape (1, 2, 4, 1) 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
build_aspp Ran
ran; our contract draft was wrong, not the code
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("5f036accfda6f69c")
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 ASPP. 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 a minimal SynchronizedBatchNorm2d for the _init_weight method
class SynchronizedBatchNorm2d(nn.Module):
    def __init__(self, num_features):
        super(SynchronizedBatchNorm2d, self).__init__()
        self.weight = nn.Parameter(torch.ones(num_features))
        self.bias = nn.Parameter(torch.zeros(num_features))
    
    def forward(self, x):
        return x

# Define _ASPPModule that is used by ASPP
class _ASPPModule(nn.Module):
    def __init__(self, inplanes, planes, kernel_size, padding, dilation, BatchNorm):
        super(_ASPPModule, self).__init__()
        self.atrous_conv = nn.Conv2d(inplanes, planes, kernel_size=kernel_size,
                                      stride=1, padding=padding, dilation=dilation, bias=False)
        self.bn = BatchNorm(planes)
        self.relu = nn.ReLU(inplace=True)
    
    def forward(self, x):
        x = self.atrous_conv(x)
        x = self.bn(x)
        x = self.relu(x)
        return x

ARGS = {
    'backbone': 'resnet',
    'output_stride': 16,
    'BatchNorm': nn.BatchNorm2d
}
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 ASPP — a ASPP output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ASPP 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
ASPP Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("27065a228bad5068")
How it ran

no invocation recorded.

VSNet Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("45f12adaeae8ff49")
How it ran

no invocation recorded.

_ASPPModule Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("f3070bb2d0cc1f19")
How it ran

no invocation recorded.

build_backbone Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("5c2833e31e74538a")
How it ran

no invocation recorded.

build_decoder Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("6b32bebbe43bf3a6")
How it ran

no invocation recorded.

decoder_v1 Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("f77c1e0417e279a4")
How it ran

no invocation recorded.

decoder_v2 Not yet run
unverified (harvested, no recorded run)
zju3dv/VS-Net/models/vs_net.py
code served (permissive licence) · get_code("21f984bcd960f312")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 9 later) and 6 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
_sum_ft
brick of this paper's assembly: helper
15 other papers
5 dated earlier, 10 later · 15 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2012.04781 (2020-12)
You Only Need Adversarial Supervision for Semantic Image Synthesis
2101.10979 (2021-01)
Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation
and 12 more not named here
_unsqueeze_ft
brick of this paper's assembly: helper
15 other papers
5 dated earlier, 10 later · 14 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2012.04781 (2020-12)
You Only Need Adversarial Supervision for Semantic Image Synthesis
2101.10979 (2021-01)
Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation
and 12 more not named here
SyncMaster
brick of this paper's assembly: helper
12 other papers
4 dated earlier, 8 later · 10 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2101.10979 (2021-01)
Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation
2102.09896 (2021-02)
Scribble-Supervised Semantic Segmentation by Uncertainty Reduction on Neural Representation and Self-Supervision on Neural Eigenspace
and 9 more not named here
SynchronizedBatchNorm2d
brick of this paper's assembly: helper
12 other papers
4 dated earlier, 8 later · 8 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2101.10979 (2021-01)
Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation
2102.09896 (2021-02)
Scribble-Supervised Semantic Segmentation by Uncertainty Reduction on Neural Representation and Self-Supervision on Neural Eigenspace
and 9 more not named here
SlavePipe
brick of this paper's assembly: helper
11 other papers
4 dated earlier, 7 later · 11 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2101.10979 (2021-01)
Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation
2102.09896 (2021-02)
Scribble-Supervised Semantic Segmentation by Uncertainty Reduction on Neural Representation and Self-Supervision on Neural Eigenspace
and 8 more not named here
_SynchronizedBatchNorm
brick of this paper's assembly: helper
11 other papers
4 dated earlier, 7 later · 8 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2101.10979 (2021-01)
Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation
2102.09896 (2021-02)
Scribble-Supervised Semantic Segmentation by Uncertainty Reduction on Neural Representation and Self-Supervision on Neural Eigenspace
and 8 more not named here
build_aspp
brick of this paper's assembly: helper
6 other papers
4 dated earlier, 2 later
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
1910.02550 (2019-10)
ClearGrasp: 3D Shape Estimation of Transparent Objects for Manipulation
2010.06349 (2020-10)
Collaborative Video Object Segmentation by Multi-Scale Foreground-Background Integration
and 3 more not named here
ASPP
brick of this paper's assembly: model
4 other papers
1 dated earlier, 3 later · 2 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2108.00384 (2021-08)
Edge-competing Pathological Liver Vessel Segmentation with Limited Labels
2109.01801 (2021-09)
Dual Transfer Learning for Event-based End-task Prediction via Pluggable Event to Image Translation
and 1 more not named here
_ASPPModule
brick of this paper's assembly: helper
4 other papers
1 dated earlier, 3 later · 2 only as an assembly brick
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
2108.00384 (2021-08)
Edge-competing Pathological Liver Vessel Segmentation with Limited Labels
2109.01801 (2021-09)
Dual Transfer Learning for Event-based End-task Prediction via Pluggable Event to Image Translation
and 1 more not named here

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

Visual localization is of great importance in robotics and computer vision. Recently, scene coordinate regression based methods have shown good performance in visual localization in small static scenes. However, it still estimates camera poses from many inferior scene coordinates. To address this problem, we propose a novel visual localization framework that establishes 2D-to-3D correspondences between the query image and the 3D map with a series of learnable scene-specific landmarks. In the landmark generation stage, the 3D surfaces of the target scene are oversegmented into mosaic patches whose centers are regarded as the scene-specific landmarks. To robustly and accurately recover the scene-specific landmarks, we propose the Voting with Segmentation Network (VS-Net) to segment the pixels into different landmark patches with a segmentation branch and estimate the landmark locations within each patch with a landmark location voting branch. Since the number of landmarks in a scene may reach up to 5000, training a segmentation network with such a large number of classes is both computation and memory costly for the commonly used cross-entropy loss. We propose a novel prototype-based triplet loss with hard negative mining, which is able to train semantic segmentation networks with a large number of labels efficiently. Our proposed VS-Net is extensively tested on multiple public benchmarks and can outperform stateof-the-art visual localization methods. Code and models are available at https://github.com/zju3dv/VS-Net.

For agents

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

get_harvested_code_for_paper("2105.10886")
get_code_for_paper("2105.10886")
have("2105.10886")

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

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

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

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

Connect an agent — have() is free.