ajrcampbell / early-exit-ensembles

Early exit ensembles
MIT License
12 stars 2 forks source link

eeg data and unet question #1

Closed christinazavou closed 1 year ago

christinazavou commented 2 years ago

Hello, thanks for sharing the code and all your great work:)

I'm trying to replicate the work in "High Frequency EEG Artifact Detection with Uncertainty via Early Exit Paradigm" which is using the early-exit paradigm as well, and I run into some questions. Since this code is open sourced I'm asking them here so more people interested in it can follow.

Some minor implementation details (please correct me if I'm wrong):

- in table 2 it shows that you go from shape 5x2500 to shape 5x1250 with Max pooling of kernel size 2 and stride 1 .. 
however i believe this is achieved with kernel size 1 and stride 2 or kernel size 3, stride 2 and padding 1.
Additionally to go from 9x625 to 9x312 we need to use kernel size 3 stride 2 and padding 0.

- in table 2 I don't see how from input shape [1 channel, 2500 time steps] we can use 1d convolution with 
kernel 4 and stride 1 and get the output shape [5, 2500]. I can get that output shape using kernel 5 and 
padding 2. (The same for the rest of the convolutions in the encoder).

thanks in advance, christina

lorenaqendro commented 2 years ago

Hi @christinazavou, Thank you for your interest in the paper and your kind words.

Please have a look at the following comments which I hope answer your questions: