SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.02491 · 2024

VM-UNet: Vision Mamba UNet for Medical Image Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

14 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, 2 violated it and 3 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-21; 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/2402.02491.json · badge: /api/ran/2402.02491.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
jcruan519/vm-unet canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
pixdeep/mhs-vm community (classifier label)
classifier basis not recorded on the link
3 ran · 2 no recorded run
weitunglin/pixmamba extension (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
nobodyplayer1/vm-unetv2 community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
cons_scan_h Ran
ran on a synthesized input
pixdeep/mhs-vm/scanutils.py
code served (permissive licence) · get_code("fa24a063153b9bff")
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 2, dtype family int, shape (12, 2) 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)

# cons_scan_h takes two parameters: h (height) and w (width)
# Both should be integers representing dimensions
# The function iterates over h rows and w columns to construct a scanning pattern

h = 4
w = 3

ARGS = {
    "h": h,
    "w": w,
}
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 2, dtype family int, shape (12, 2) — shape (12, 2) 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
cons_scan_v Ran
ran on a synthesized input
pixdeep/mhs-vm/scanutils.py
code served (permissive licence) · get_code("e6b48de9f8d0e99f")
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 2, dtype family int, shape (12, 2) 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)

# cons_scan_v takes two parameters: h (height) and w (width)
# Looking at the function body:
# - h is used in torch.arange(0, h, dtype=torch.long) to create position indices
# - w is used in torch.arange(w) to iterate through columns
# Both are integers representing dimensions

h = 4
w = 3

ARGS = {
    "h": h,
    "w": w,
}
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 2, dtype family int, shape (12, 2) — shape (12, 2) 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
diag_scan Ran
ran on a synthesized input
pixdeep/mhs-vm/scanutils.py
code served (permissive licence) · get_code("07074cb904b5abc0")
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 2, dtype family int, shape (12, 2) 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)

ARGS = {
    "h": 4,
    "w": 3,
    "cw": 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 Tensor, ndim 2, dtype family int, shape (12, 2) — shape (12, 2) 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
flops_selective_scan_ref Ran
ran, honoured the contract we drafted
jcruan519/vm-unet/models/vmunet/vmamba.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from chishengchen/resvmamba, is pointer only (licence: NONE) · get_code("91788abc3267bdda")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from chishengchen/resvmamba, 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_logger Ran
ran; our contract draft was wrong, not the code
jcruan519/vm-unet/utils.py
code served (permissive licence) · get_code("23a1f34627822bb3")
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 Logger. 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 logging.handlers

# Create a temporary directory for logs
temp_log_dir = tempfile.mkdtemp()

ARGS = {
    'name': 'test_logger',
    'log_dir': temp_log_dir
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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_optimizer Ran
ran; our contract draft was wrong, not the code
jcruan519/vm-unet/utils.py
code served (permissive licence) · get_code("ae1a2dd9d62e7fad")
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 Adam. 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)

# Create a minimal model with parameters
class TinyModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = TinyModel()

# Create a config class with all required attributes
class Config:
    def __init__(self, opt='Adam'):
        self.opt = opt
        self.lr = 0.001
        self.rho = 0.9
        self.eps = 1e-8
        self.weight_decay = 0.0
        self.lr_decay = 0.0
        self.betas = (0.9, 0.999)
        self.amsgrad = False
        self.lambd = 0.0001
        self.alpha = 0.75
        self.t0 = 1e6
        self.momentum = 0.9
        self.alpha_rmsprop = 0.99
        self.centered = False
        self.etas = (0.5, 1.2)
        self.step_sizes = (1e-6, 50)
        self.dampening = 0.0
        self.nesterov = False

config = Config(opt='Adam')

ARGS = {
    'config': config,
    '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 Adam — a Adam output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Adam 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_scheduler Ran
ran; our contract draft was wrong, not the code
jcruan519/vm-unet/utils.py
code served (permissive licence) · get_code("dea42821258184c2")
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 CosineAnnealingLR. 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 math

torch.manual_seed(0)

# Create a simple model and optimizer
model = torch.nn.Linear(4, 2)
optimizer = torch.optim.SGD(model.parameters(), lr=0.1)

# Create config class with all necessary attributes
class Config:
    def __init__(self, sch_type):
        self.sch = sch_type
        self.step_size = 10
        self.gamma = 0.1
        self.last_epoch = -1
        self.milestones = [30, 60, 90]
        self.T_max = 100
        self.eta_min = 0.0
        self.mode = 'min'
        self.factor = 0.1
        self.patience = 10
        self.threshold = 1e-4
        self.threshold_mode = 'rel'
        self.cooldown = 0
        self.min_lr = 0.0
        self.eps = 1e-8
        self.T_0 = 10
        self.T_mult = 2
        self.warm_up_epochs = 5
        self.epochs = 100

# Test with one scheduler type
config = Config('CosineAnnealingLR')

ARGS = {
    'config': config,
    'optimizer': optimizer
}
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 CosineAnnealingLR — a CosineAnnealingLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CosineAnnealingLR 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
inv_transform Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weitunglin/pixmamba/analyze/convnexts4nd/src/models/sequence/kernels/ssm.py
pointer only (licence: NONE) · get_code("26b8695dba83b816")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weitunglin/pixmamba 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.

param_transform Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weitunglin/pixmamba/analyze/convnexts4nd/src/models/sequence/kernels/ssm.py
pointer only (licence: NONE) · get_code("6f7ad7d857dc0d1e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weitunglin/pixmamba 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.

random_rot_flip Ran
ran, violated the contract we drafted
jcruan519/vm-unet/datasets/dataset.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jefferyjiang-yf/m4oe, is pointer only (licence: NONE) · get_code("960b785e65a00358")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jefferyjiang-yf/m4oe, 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.

random_rotate Ran
ran, violated the contract we drafted
jcruan519/vm-unet/datasets/dataset.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jefferyjiang-yf/m4oe, is pointer only (licence: NONE) · get_code("43fa66325ce3cafd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jefferyjiang-yf/m4oe, 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.

train_one_epoch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jcruan519/vm-unet/engine.py
code served (permissive licence) · get_code("4709d469c5e0a024")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import torch.nn as nn
from torch.optim import SGD
from torch.optim.lr_scheduler import StepLR
import numpy as np

torch.manual_seed(0)

# Define a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.fc = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.fc(x)

# Define a simple logger
class SimpleLogger:
    def info(self, msg):
        pass

# Define a simple writer
class SimpleWriter:
    def add_scalar(self, name, value, global_step):
        pass

# Define a simple config
class SimpleConfig:
    def __init__(self):
        self.print_interval = 1

# Create model
model = SimpleModel()

# Create criterion
criterion = nn.MSELoss()

# Create optimizer
optimizer = SGD(model.parameters(), lr=0.01)

# Create scheduler
scheduler = StepLR(optimizer, step_size=1, gamma=0.1)

# Create a simple train loader with 2 batches
# Each batch contains (images, targets)
train_loader = [
    (torch.randn(2, 4), torch.randn(2, 3)),
    (torch.randn(2, 4), torch.randn(2, 3))
]

# Create logger
logger = SimpleLogger()

# Create config
config = SimpleConfig()

# Create writer
writer = SimpleWriter()

# Other parameters
epoch = 0
step = 0

ARGS = {
    'train_loader': train_loader,
    'model': model,
    'criterion': criterion,
    'optimizer': optimizer,
    'scheduler': scheduler,
    'epoch': epoch,
    'step': step,
    'logger': logger,
    'config': config,
    'writer': writer
}
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 int, ndim 0, dtype family int, 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
train_one_epoch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jcruan519/vm-unet/engine_synapse.py
code served (permissive licence) · get_code("62b66c9a1c4f5a23")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.nn as nn
import numpy as np
from torch.cuda.amp import GradScaler
import logging

torch.manual_seed(0)

# Create a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create a simple criterion
criterion = nn.MSELoss()

# Create a simple logger
logger = logging.getLogger('test')
logger.setLevel(logging.INFO)
handler = logging.StreamHandler()
logger.addHandler(handler)

# Create a simple config class
class Config:
    def __init__(self):
        self.amp = False
        self.print_interval = 1

config = Config()

# Create model and optimizer
model = SimpleModel()
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)

# Create scheduler
scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=1, gamma=0.1)

# Create a simple train loader
train_loader = []
for i in range(3):
    images = torch.randn(2, 4)
    targets = torch.randn(2, 3)
    train_loader.append({'image': images, 'label': targets})

# Create scaler (for AMP)
scaler = GradScaler()

# Define ARGS
ARGS = {
    'train_loader': train_loader,
    'model': model,
    'criterion': criterion,
    'optimizer': optimizer,
    'scheduler': scheduler,
    'epoch': 0,
    'logger': logger,
    'config': config,
    'scaler': scaler
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
val_one_epoch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jcruan519/vm-unet/engine.py
code served (permissive licence) · get_code("15d76d94bb1b8c16")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.nn as nn
import numpy as np
from unittest.mock import Mock
import logging

torch.manual_seed(0)

# Define a minimal model that satisfies the function's usage
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = nn.Conv2d(3, 1, kernel_size=1)
    
    def forward(self, x):
        return self.conv(x)

# Create test loader with tiny batches
test_loader = [
    (torch.randn(2, 3, 4, 4), torch.randn(2, 1, 4, 4)),
    (torch.randn(2, 3, 4, 4), torch.randn(2, 1, 4, 4)),
]

# Create model
model = MinimalModel()

# Create criterion
criterion = nn.BCEWithLogitsLoss()

# Create config with required attributes
class Config:
    def __init__(self):
        self.val_interval = 1
        self.threshold = 0.5

config = Config()

# Create logger
logger = logging.getLogger('test_logger')
logger.setLevel(logging.INFO)
handler = logging.StreamHandler()
logger.addHandler(handler)

# Define ARGS
ARGS = {
    'test_loader': test_loader,
    'model': model,
    'criterion': criterion,
    'epoch': 1,
    'logger': logger,
    'config': config,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
calc_posarrays Not yet run
unverified (harvested, no recorded run)
pixdeep/mhs-vm/routegen.py
code served (permissive licence) · get_code("60928f8638ac0eaa")
How it ran

no invocation recorded.

val_one_epoch Not yet run
unverified (harvested, no recorded run)
nobodyplayer1/vm-unetv2/engine.py
code served (permissive licence) · get_code("9cfc13ef56c9f86d")
How it ran

no invocation recorded.

val_one_epoch Not yet run
unverified (harvested, no recorded run)
pixdeep/mhs-vm/engine.py
code served (permissive licence) · get_code("dbcdb8cb8d2977ce")
How it ran

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, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 1 the same month, 9 later) and 7 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
random_rotate 10 other papers
5 dated earlier, 5 later
2111.04734 (2021-11)
Mixed Transformer U-Net For Medical Image Segmentation
2304.13785 (2023-04)
Customized Segment Anything Model for Medical Image Segmentation
2306.12737 (2023-06)
Ladder Fine-tuning approach for SAM integrating complementary network
and 7 more not named here
random_rot_flip 9 other papers
5 dated earlier, 4 later
2111.04734 (2021-11)
Mixed Transformer U-Net For Medical Image Segmentation
2304.13785 (2023-04)
Customized Segment Anything Model for Medical Image Segmentation
2306.12737 (2023-06)
Ladder Fine-tuning approach for SAM integrating complementary network
and 6 more not named here
flops_selective_scan_ref 7 other papers
1 dated earlier, 1 the same month, 5 later
2401.10166 (2024-01)
VMamba: Visual State Space Model
2402.15761 (2024-02)
Res-VMamba: Fine-Grained Food Category Visual Classification Using Selective State Space Models with Deep Residual Learning
2403.03849 (2024-03)
MedMamba: Vision Mamba for Medical Image Classification
and 4 more not named here
get_logger 6 other papers
2 dated earlier, 4 later
2307.08473 (2023-07)
EGE-UNet: an Efficient Group Enhanced UNet for skin lesion segmentation
2401.10166 (2024-01)
VMamba: Visual State Space Model
2403.13642 (2024-03)
H-vmunet: High-order Vision Mamba UNet for Medical Image Segmentation
and 3 more not named here
get_optimizer 6 other papers
2 dated earlier, 4 later
2307.08473 (2023-07)
EGE-UNet: an Efficient Group Enhanced UNet for skin lesion segmentation
2401.10166 (2024-01)
VMamba: Visual State Space Model
2403.13642 (2024-03)
H-vmunet: High-order Vision Mamba UNet for Medical Image Segmentation
and 3 more not named here
get_scheduler 6 other papers
2 dated earlier, 4 later
2307.08473 (2023-07)
EGE-UNet: an Efficient Group Enhanced UNet for skin lesion segmentation
2401.10166 (2024-01)
VMamba: Visual State Space Model
2403.13642 (2024-03)
H-vmunet: High-order Vision Mamba UNet for Medical Image Segmentation
and 3 more not named here
inv_transform 3 other papers
2 dated earlier, 1 later · 2 only as an assembly brick
2111.00396 (2021-11)
Efficiently Modeling Long Sequences with Structured State Spaces
2312.00752 (2023-12)
Mamba: Linear-Time Sequence Modeling with Selective State Spaces
2407.08751 (2024-07)
Latent Diffusion for Neural Spiking Data
param_transform 3 other papers
2 dated earlier, 1 later · 2 only as an assembly brick
2111.00396 (2021-11)
Efficiently Modeling Long Sequences with Structured State Spaces
2312.00752 (2023-12)
Mamba: Linear-Time Sequence Modeling with Selective State Spaces
2407.08751 (2024-07)
Latent Diffusion for Neural Spiking Data
val_one_epoch 3 other papers
1 dated earlier, 2 later
2401.10166 (2024-01)
VMamba: Visual State Space Model
2403.13642 (2024-03)
H-vmunet: High-order Vision Mamba UNet for Medical Image Segmentation
2403.20035 (2024-03)
UltraLight VM-UNet: Parallel Vision Mamba Significantly Reduces Parameters for Skin Lesion Segmentation
train_one_epoch 1 other paper
1 dated earlier
2401.10166 (2024-01)
VMamba: Visual State Space Model

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

Repositories linked to this paper

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

Abstract

In the realm of medical image segmentation, both CNN-based and Transformer-based models have been extensively explored. However, CNNs exhibit limitations in long-range modeling capabilities, whereas Transformers are hampered by their quadratic computational complexity. Recently, State Space Models (SSMs), exemplified by Mamba, have emerged as a promising approach. They not only excel in modeling long-range interactions but also maintain a linear computational complexity. In this paper, leveraging state space models, we propose a U-shape architecture model for medical image segmentation, named Vision Mamba UNet (VM-UNet). Specifically, the Visual State Space (VSS) block is introduced as the foundation block to capture extensive contextual information, and an asymmetrical encoder-decoder structure is constructed with fewer convolution layers to save calculation cost. We conduct comprehensive experiments on the ISIC17, ISIC18, and Synapse datasets, and the results indicate that VM-UNet performs competitively in medical image segmentation tasks. To our best knowledge, this is the first medical image segmentation model constructed based on the pure SSM-based model. We aim to establish a baseline and provide valuable insights for the future development of more efficient and effective SSM-based segmentation systems. Our code is available at https://github.com/JCruan519/VM-UNet.

For agents

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

get_harvested_code_for_paper("2402.02491")
get_code_for_paper("2402.02491")
have("2402.02491")

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

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

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

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

Connect an agent — have() is free.