eeyhsong / EEG-Conformer

EEG Transformer 2.0. i. Convolutional Transformer for EEG Decoding. ii. Novel visualization - Class Activation Topography.
GNU General Public License v3.0
389 stars 55 forks source link

How should 'Label' look? #14

Closed basic0908 closed 1 year ago

basic0908 commented 1 year ago

Hey, I am new to EEG processing. I am getting an error on 'label' and it seems that labels dont exist. image

I am trying to make a separate file for labels and I would like to know the label should look like.

Thanks in advance

eeyhsong commented 1 year ago

@basic0908 hello! It's a 1-D array like (0, 1, 1, 2). It could be used to calculate cross-entropy loss.