Comments (6)
@ang-bas Your result seems strange. Please check the following things so that I can spot the problem and help you further:
- Do yun run the code with the same Python package requirements? If not, try to run code with the same requirements.
- Have you made any changes to the source code and dataset? If yes, paste your modification here.
- Are you using exact the same command in the README (which produce the result showing in the screenshot)? If not, paste your command here.
- Please paste logs for all epochs here.
from ecg-diagnosis.
from ecg-diagnosis.
@ang-bas Have you closely followed the instructions in the README? I just downloaded the code fro github and data from dropbox, ran model training after preprocessing, and got the output:
Notice that I only show first 5 epochs here. But around 20-30 epochs, F1 on the evaluation dataset achieves/exceeds the reported result.
However, in your screenshot, there are some problems:
- The training loss is not going down, which means the model is not training at all.
- The validation loss is bigger than training loss, which seems impossible since number of validation samples is less than training (1:8).
- All AUCs during validation are around 0.5, which also indicates the model is not learning.
BTW, I ran the code with the following package requirements. So I would suggest you to re-download the code and data, run preprocessing, and run training with no changes.
![image](https://private-user-images.githubusercontent.com/13433549/239414034-11d59554-9019-4ceb-9c08-69066fa6af24.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYwODIyNjcsIm5iZiI6MTcxNjA4MTk2NywicGF0aCI6Ii8xMzQzMzU0OS8yMzk0MTQwMzQtMTFkNTk1NTQtOTAxOS00Y2ViLTljMDgtNjkwNjZmYTZhZjI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTE5VDAxMjYwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5MDk1OTFmMDk3MzI0ZjhkMTJiMDEyMTliNzM2MjEyZmMxNzgzYWUxMjhmNGExNzU1NjQxMTQ3NWVlNzgwYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5aD8Nrlj7rpplH1QYgI886Bb5gkdJis_RG2kD11Ivzs)
from ecg-diagnosis.
from ecg-diagnosis.
Hi @ang-bas, I'm sorry to hear that the code is not working for you and I'm unable to locate the problem according to your description.
To help you, I created a Colab Notebook which works well. I would also suggest you to run the code with the data on another machine to check whether it works or not.
from ecg-diagnosis.
@ang-bas I've also ran the code in the environment with the same package versions you are using. The result agrees with it as reported in the paper.
It's been a long time since your last feedback. Have you tried my suggestions?
As I've attached the Colab Notebook before which is working well. And there're some works based on this project, ECG analysis Using Deep Learning, which shows the results are successfully reproduced.
So now I'm closing this issue as I cannot reproduce your problem. But feel free to reopen and comment with your settings and results.
from ecg-diagnosis.
Related Issues (10)
- 关于代码运行的问题 HOT 3
- question about `output_list`, `labels_list` and `scheduler.step()` in `main.py` HOT 4
- 关于Interpretation运行的问题 HOT 1
- Testing new data
- 执行baseline.py时出现下述问题 HOT 4
- Error in preprocess.py HOT 2
- 数据集下载不了 HOT 5
- 有关于十折交叉验证的问题 HOT 1
- 有关shap_value的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecg-diagnosis.