Views
No views yet
xECG.py and ensure the requirements in requirements.txt are inatalled and then:1from xECG import xECG
2
3model = xECG.from_pretrained("riccardolunelli/xECG_base_model_v1")['i', 'ii', 'iii', 'avr', 'avl', 'avf', 'v1', 'v2', 'v3', 'v4', 'v5', 'v6'].
For applications where less leads are available, just set them to zero.downstream_models.xECGClassification: use this for signal level class, e.g. classification, regression...downstream_models.xECGFeatureClassification: use this for task like segmentation (head output of the same size of the original patch, 25) or for heartbeat level classification.