dengxl0520/MemSAM
dengxl0520/MemSAM has 201 GitHub stars and 22 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 11:03 UTC. Last push 2024-08-01.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
[CVPR 2024 Oral] MemSAM: Taming Segment Anything Model for Echocardiography Video Segmentation.
Creative & MediaREADME.md
OriginalMemSAM
MemSAM: Taming Segment Anything Model for Echocardiography Video Segmentation, CVPR 2024, Oral
Xiaolong Deng^, Huisi Wu*, Runhao Zeng, Jing Qin
Installation
conda create --name memsam python=3.10
conda activate memsam
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install requirements.txt
Usage
prepare dataset
First, download the dataset from:
Then process the dataset according to utils/preprocess_echonet.py and utils/preprocess_camus.py, for example:
# CAMUS
python utils/preprocess_camus.py -i /data/dengxiaolong/CAMUS_public/database_nifti -o /data/dengxiaolong/memsam/CAMUS_public
# EchoNet-Dynamic
python utils/preprocess_echonet.py -i /data/dengxiaolong/EchoNet-Dynamic -o /data/dengxiaolong/memsam/EchoNet
pretrain checkpoint download
train and test
Use train_video.py and test_video.py to train and test separately.
Acknowledgement
The work is based on SAM, SAMUS and XMem. Thanks for the open source contributions to these efforts!
Citation
if you find our work useful, please cite our paper, thank you!
@InProceedings{Deng_2024_CVPR,
author = {Deng, Xiaolong and Wu, Huisi and Zeng, Runhao and Qin, Jing},
title = {MemSAM: Taming Segment Anything Model for Echocardiography Video Segmentation},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2024},
pages = {9622-9631}
}