EchoCardMAE
EchoCardMAE: Video Masked Auto-Encoders Customized for Echocardiography
Install / Use
/learn @m1dsolo/EchoCardMAEREADME
EchoCardMAE: Video Masked Auto-Encoders Customized for Echocardiography
Introduction
Visualization
Reconstruction
EchoCardMAE reconstruction results on the EchoNet-Dynamic dataset.
<img src="https://github.com/user-attachments/assets/6ee03655-620c-49d7-a92a-e0150c04befd" width="50%">Segmentation
Segmentation results on the EchoNet-Dynamic and CAMUS dataset.
Installation
# remove GIT_LFS_SKIP_SMUDGE=1 if you want to download the pretraining weights
GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/m1dsolo/EchoCardMAE.git
cd EchoCardMAE
conda create -n EchoCardMAE python=3.10
conda activate EchoCardMAE
pip install -r requirements.txt
git submodule add --depth=1 https://github.com/m1dsolo/yangdl.git yangdl
cd yangdl
pip install -e .
Experimental environment:
- PyTorch 2.5.1
- Python 3.10.15
- GPU memory 24GB
Usage
Data Preparation
- EchoNet-Dynamic: Download to
EchoCardMAE/dataset/EchoNet-Dynamic - CAMUS: Download to
EchoCardMAE/dataset/CAMUS - HMC-QU: Download to
EchoCardMAE/dataset/hmcqu-dataset
Data preprocessing
- Ejection fraction (EF) prediction:
python -m echonet.avi2npy
- Segmentation:
python -m echonet.avi2edes_npy
Pre-training
You can use pretraining weights provided by us. Or you can pretrain the model by yourself:
python pretrain.py
Fine-tuning
- EF prediction:
python -m echonet.train_ef
python -m echonet.val_ef
- Segmentation:
python -m echonet.train_seg
TODO
- [ ] upload the code of CAMUS and HMC-QU
Citation
TODO
Related Skills
docs-writer
99.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
337.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
ddd
Guía de Principios DDD para el Proyecto > 📚 Documento Complementario : Este documento define los principios y reglas de DDD. Para ver templates de código, ejemplos detallados y guías paso
arscontexta
2.9kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
