Add model card, project links, and pipeline tag
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-sa-4.0
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-sa-4.0
|
| 3 |
+
pipeline_tag: image-segmentation
|
| 4 |
---
|
| 5 |
+
|
| 6 |
+
# SAM-MT: Real-Time Interactive Multi-Target Video Segmentation
|
| 7 |
+
|
| 8 |
+
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).
|
| 9 |
+
|
| 10 |
+
* **Project Page:** [henghuiding.com/SAM-MT](https://henghuiding.com/SAM-MT/)
|
| 11 |
+
* **Repository:** [GitHub - FudanCVL/SAM-MT](https://github.com/FudanCVL/SAM-MT)
|
| 12 |
+
|
| 13 |
+
**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.
|
| 14 |
+
|
| 15 |
+
<p align="center">
|
| 16 |
+
<img src="https://raw.githubusercontent.com/FudanCVL/SAM-MT/main/assets/teaser.png" width="100%">
|
| 17 |
+
</p>
|
| 18 |
+
|
| 19 |
+
## Highlights
|
| 20 |
+
* **Real-time speed**: 36+ FPS with 10 targets on a single NVIDIA RTX A6000 GPU.
|
| 21 |
+
* **Individual-global representation**: Models individual targets and global scene within a unified framework.
|
| 22 |
+
* **Interactive multi-target video segmentation**: Simple clicks for target specification.
|
| 23 |
+
|
| 24 |
+
## Quick Start
|
| 25 |
+
|
| 26 |
+
### Installation
|
| 27 |
+
```bash
|
| 28 |
+
# clone the repo and enter directory
|
| 29 |
+
git clone https://github.com/FudanCVL/SAM-MT.git
|
| 30 |
+
cd SAM-MT
|
| 31 |
+
|
| 32 |
+
# create and activate conda environment
|
| 33 |
+
conda create -n sammt python=3.10 -y
|
| 34 |
+
conda activate sammt
|
| 35 |
+
|
| 36 |
+
# install required packages
|
| 37 |
+
pip install -r requirements.txt
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
### Inference
|
| 41 |
+
By default, place the downloaded checkpoint under the `checkpoints/` directory.
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
# Basic inference (coordinates required)
|
| 45 |
+
python inference.py
|
| 46 |
+
|
| 47 |
+
# Interactive Gradio demo
|
| 48 |
+
python inference_gradio.py
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Citation
|
| 52 |
+
|
| 53 |
+
If you find SAM-MT useful in your research, please consider citing:
|
| 54 |
+
|
| 55 |
+
```bibtex
|
| 56 |
+
@inproceedings{SAM-MT,
|
| 57 |
+
title={{SAM-MT}: Real-Time Interactive Multi-Target Video Segmentation},
|
| 58 |
+
author={Shen, Ruiqi and Liu, Chang and Ding, Henghui},
|
| 59 |
+
booktitle={European Conference on Computer Vision (ECCV)},
|
| 60 |
+
year={2026}
|
| 61 |
+
}
|
| 62 |
+
```
|