Giter VIP home page Giter VIP logo

cnns-on-chb-mit's Issues

CNN's training data

Actually I have some questions about your code:
1- In the training why did you choose that it be be for each patient apart I mean why didn't you collect the spectrograms for all patients and use it as input for CNN. .
2- How could I know the number of the training data used?

why signalsBlock.shape[0] == 50 save

in DataserToSpectogram.py line 205
if (signalsBlock.shape[0] == 50):
saveSignalsOnDisk(signalsBlock, nSpectogram)

What does 50 mean, is it 50 times of 30 seconds sampling, or is it something else that I don't understand, please forgive me for being a beginner. Thank you very much for your reply

ask for the final result

as for the result of codes, is it normal about chb05:sens=77,FPR=2.8;CHB19:sens=79,fpr=4?The result I got was not good,FPR is very far from zero.May I know your final results?thanks!!

Creation of the CNN and evaluation of the model on the spectograms - python CNN.py

while running this code in google colab I am getting this error.


InvalidArgumentError Traceback (most recent call last)

in ()
311
312 if name == 'main':
--> 313 main()
314

3 frames

/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
53 ctx.ensure_initialized()
54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
57 if name is not None:

InvalidArgumentError: Graph execution error:


![Capture](https://user-images.git

The full error is attached in the text file below. Please help me to understand this issue.

CNN_training_Error.txt
hubusercontent.com/100077429/169679398-ea893a4a-f382-43a0-a50c-5bd18c4573fa.PNG)

nan

训练19号病人损失为nan,前边的没问题,不知道是什么问题

What does the "real preictal" mean?

What does the "real preictal" mean? I didn't find anything about it in the paper.When you train the CNN,what data will be used? preictal data or real preictal data ?I am really confused. Thank you

threshold

hi
Why don't consider all 13 patients?
and
what are the threshold?

About generating spectrogram shapes

Hello @ritwikmishra ,
Thank you very much for providing such excellent code, I have a question to ask you .
I check the spectrogram generated in the first part of the code and get ”shape: (50, 21, 59, 114)“, what should I do to make the shape generate three-dimensional ?I would be grateful if you could provide some suggestions and look forward to receiving your reply .

threhold

threhold 中的 secondsInterictalInTest 的数值是怎么得到的

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.