MemSAM: Taming Segment Anything Model for Echocardiography Video Segmentation, CVPR 2024
Xiaolong Deng^, Huisi Wu*, Runhao Zeng, Jing Qin
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
First, download the dataset from:
Then process the dataset according to utils/preprocess_echonet.py
and utils/preprocess_camus.py
.
Use train_video.py
and test_video.py
to train and test separately.
The work is based on SAM, SAMUS and XMem. Thanks for the open source contributions to these efforts!