File size: 1,989 Bytes
71d1fa0
 
f5fce54
71d1fa0
f5fce54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
license: cc-by-nc-sa-4.0
pipeline_tag: image-segmentation
---

# SAM-MT: Real-Time Interactive Multi-Target Video Segmentation

This repository contains the official checkpoint for **SAM-MT**, presented in the paper [SAM-MT: Real-Time Interactive Multi-Target Video Segmentation](https://huggingface.co/papers/2607.08688).

* **Project Page:** [henghuiding.com/SAM-MT](https://henghuiding.com/SAM-MT/)
* **Repository:** [GitHub - FudanCVL/SAM-MT](https://github.com/FudanCVL/SAM-MT)

**SAM-MT** is an efficient interactive multi-target video segmentation framework that maintains near-single-object efficiency (FPS and VRAM) as target count increases, while maintaining robust video segmentation performance.

<p align="center">
  <img src="https://raw.githubusercontent.com/FudanCVL/SAM-MT/main/assets/teaser.png" width="100%">
</p>

## Highlights
* **Real-time speed**: 36+ FPS with 10 targets on a single NVIDIA RTX A6000 GPU.
* **Individual-global representation**: Models individual targets and global scene within a unified framework.
* **Interactive multi-target video segmentation**: Simple clicks for target specification.

## Quick Start

### Installation
```bash
# clone the repo and enter directory
git clone https://github.com/FudanCVL/SAM-MT.git
cd SAM-MT

# create and activate conda environment
conda create -n sammt python=3.10 -y
conda activate sammt

# install required packages
pip install -r requirements.txt
```

### Inference
By default, place the downloaded checkpoint under the `checkpoints/` directory.

```bash
# Basic inference (coordinates required)
python inference.py

# Interactive Gradio demo
python inference_gradio.py
```

## Citation

If you find SAM-MT useful in your research, please consider citing:

```bibtex
@inproceedings{SAM-MT,
  title={{SAM-MT}: Real-Time Interactive Multi-Target Video Segmentation},
  author={Shen, Ruiqi and Liu, Chang and Ding, Henghui},
  booktitle={European Conference on Computer Vision (ECCV)},
  year={2026}
}
```