Skip to content

robustml-eurecom/MedOpenSeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MedOpenSeg

Open-World Medical Segmentation with Memory-Augmented Transformers 🧠πŸ§ͺ

This repository contains the code to reproduce the experiments reported in:
β€œMedOpenSeg: Open-World Medical Segmentation with Memory-Augmented Transformers.”
Accepted at BMVC 2025 πŸŽ‰


πŸ“¦ Quick Installation

# Install PyTorch (recommended version: 2.1.0, adjust CUDA as needed)
pip install torch==2.1.0 torchvision==0.16.0 --index-url https://download.pytorch.org/whl/cu121

# Minimal extra packages
pip install numpy scipy nibabel SimpleITK tqdm monai

πŸ“‚ Datasets

Experiments are conducted on:

  • AMOS 2022 (multi-organ CT, 15 abdominal organs)
  • BTCV (Synapse) (multi-organ abdominal CT)
  • MSD – Pancreas (pancreas + tumors)

πŸš€ Usage

Training

python trainV.py --config configs/amos.yaml --data_root DATA/AMOS --exp_name amos_os

Inference (masks + novelty maps)

python inference_V.py   --config configs/amos.yaml   --checkpoint runs/amos_os/best.ckpt   --data_root DATA/AMOS   --save_dir outputs/amos_os

πŸ“– How to cite

If this work helps your research, please cite:


πŸ™ Thank you for your interest in MedOpenSeg!

About

MedOpenSeg: Open-World Medical Segmentation with Memory-Augmented Transformers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages