Coder Social home page Coder Social logo

Comments (6)

onlyzdd avatar onlyzdd commented on August 16, 2024

@ang-bas Your result seems strange. Please check the following things so that I can spot the problem and help you further:

  1. Do yun run the code with the same Python package requirements? If not, try to run code with the same requirements.
  2. Have you made any changes to the source code and dataset? If yes, paste your modification here.
  3. Are you using exact the same command in the README (which produce the result showing in the screenshot)? If not, paste your command here.
  4. Please paste logs for all epochs here.

from ecg-diagnosis.

ang-bas avatar ang-bas commented on August 16, 2024

from ecg-diagnosis.

onlyzdd avatar onlyzdd commented on August 16, 2024

@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:
image
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:

  1. The training loss is not going down, which means the model is not training at all.
  2. The validation loss is bigger than training loss, which seems impossible since number of validation samples is less than training (1:8).
  3. 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

from ecg-diagnosis.

ang-bas avatar ang-bas commented on August 16, 2024

from ecg-diagnosis.

onlyzdd avatar onlyzdd commented on August 16, 2024

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.

onlyzdd avatar onlyzdd commented on August 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.