Closed Skorik99 closed 6 months ago
Hi,
Unfortunately, I'm not a maintainer/developer of the https://github.com/helme/ecg_ptbxl_benchmarking/tree/master repository. But we have released the model used for this paper under this repo: https://github.com/AI4HealthUOL/ECG-MIMIC/blob/main/src/main_ecg.py you might need to pass the numpy files/paths of the data into the TimeseriesDatasetCrops from lines 405-407
I hope this helps
Hello! I was really inspired by your article and want to repeat the results of Table 1 for the
capacity to replace real data
metric. So, I'm interested in training on synthetic data and testing on real data. But I didn't get such good results (macro_auc=0.586
).For this purpose, I downloaded the synthetic dataset you provided. After unzipping, it has the following structure:
The next step was to train the neural network. For this I used the recommended benchmark https://github.com/helme/ecg_ptbxl_benchmarking/tree/master. To run it on a synthetic dataset I needed to change
prepare
method ofcode.experiments.scp_experiments.SCP_Experiment
class. To do this, I removed the content related to getting the train-val (up to this line) and changed it by loading synthetic data according toNext I just ran
code.reproduce_results.py
only forxresnet1d50
andptbxl_all
task according to the paper:For testing on synthetic data I got suitable results from the table (
te_results.csv
in outputs directory):But when I use the trained model on the inference of real test data, I get metrics
which are significantly lower than those stated in the article and differ little from the baselines. I also include code for inference of the trained model on real data for complete reproducibility of the experiment.