Code Monkey home page Code Monkey logo

Comments (4)

okbalefthanded avatar okbalefthanded commented on May 23, 2024

the model assumes the input shape to follow the (Channels x Samples x 1) format, assuming the training size to be you should reshape your data to (N x Channels x Samples x 1) format.

from arl-eegmodels.

AminHosseiniNejad avatar AminHosseiniNejad commented on May 23, 2024

Thank you. I have been tuning the network hyperparameters to get good results, but every time the loss and accuracy plots during both training and validation are so fluctuating, like in the attached image, and my accuracy scores for both training and validation are almost 0.5 almost all the time. My device sampling rate is 256 Hz, so I increased both the kernel length and the averaging size in both the blocks 1 and 2 in EEGNet network by twice.
I have been running the training process with a wide variety of number of epochs, from 1000 t0 20000, different batch sizes, and different learning rates, but as I said, every time I get almost the same unrealistic results. Any advices or ideas would be appreciated.
Regards
Amin

output
n

from arl-eegmodels.

okbalefthanded avatar okbalefthanded commented on May 23, 2024

Make sure to collect good quality data before any training, although EEGNet is quite robust, It can't work well on too much noisy data. In the preprocessing stage filter the unnecessary frequencies and normalize the data It will help the network.

What type of experiments are you working on ?

from arl-eegmodels.

AminHosseiniNejad avatar AminHosseiniNejad commented on May 23, 2024

Thank you for you time answering to my questions. I am using a Muse s headband, having 2 sensors on forehead and 2 sensors behind ears, to build a BCI application for binary image classification as my university course project. I have been trying different ML techniques, but no acceptable success yet. In addition to outliers removal and data normalization, what preprocessing steps would you recommend me to do?
Regards
Amin

from arl-eegmodels.

Related Issues (20)

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.