Deep learning application for classifying cardiac conditions from ECG signals using Parallel xLSTM architecture.
streamlit run app.pySee START_HERE.md for step-by-step guide
- 🫀 Classifies 5 cardiac conditions
- 📁 Supports .npy, .csv, and WFDB formats
- 🎨 Interactive web interface
- 📈 Real-time probability visualization
- NORM - Normal ECG
- MI - Myocardial Infarction
- STTC - ST/T Change
- CD - Conduction Disturbance
- HYP - Hypertrophy
- Framework: PyTorch, Streamlit
- Model: Parallel xLSTM (sLSTM + mLSTM)
- Dataset: PTB-XL (22k+ ECG recordings)
- Input: 1000 timesteps × 12 leads @ 100Hz
pip install -r requirements.txt- Upload ECG signal file
- Enter patient metadata (age, sex {0: Male, 1: Female})
- View predictions and probabilities
.
├── app.py # Main Streamlit app
├── model_inference.py # Model loading & inference
├── utils.py # Preprocessing utilities
├── requirements.txt # Dependencies
├── xlstm_100hz_parallel_final.ckpt # Model weights
└── normalization_params.npz # Normalization params
Mohamed Ahmed AL Mansoury - 2025
- PTB-XL dataset creators
- xlstm library developers
- Streamlit team