EEGNet
PyTorch architecture
EEGNet(
(ensuredims): Ensure4d()
(dimshuffle): Rearrange('batch ch t 1 -> batch 1 ch t')
(conv_temporal): Conv2d(1, 8, kernel_size=(1, 64), stride=(1, 1), padding=(0, 32), bias=False)
(bnorm_temporal): BatchNorm2d(8, eps=0.001, momentum=0.01, affine=True, bias=True, track_running_stats=True)
(conv_spatial): ParametrizedConv2dWithConstraint(
8, 16, kernel_size=(3, 1), stride=(1, 1), groups=8, bias=False
(parametrizations): ModuleDict(
(weight): ParametrizationList(
(0): MaxNormParametrize()
)
)
)
(bnorm_1): BatchNorm2d(16, eps=0.001, momentum=0.01, affine=True, bias=True, track_running_stats=True)
(elu_1): ELU(alpha=1.0)
(pool_1): AvgPool2d(kernel_size=(1, 4), stride=(1, 4), padding=0)
(drop_1): Dropout(p=0.25, inplace=False)
(conv_separable_depth): Conv2d(16, 16, kernel_size=(1, 16), stride=(1, 1), padding=(0, 8), groups=16, bias=False)
(conv_separable_point): Conv2d(16, 16, kernel_size=(1, 1), stride=(1, 1), bias=False)
(bnorm_2): BatchNorm2d(16, eps=0.001, momentum=0.01, affine=True, bias=True, track_running_stats=True)
(elu_2): ELU(alpha=1.0)
(pool_2): AvgPool2d(kernel_size=(1, 8), stride=(1, 8), padding=0)
(drop_2): Dropout(p=0.25, inplace=False)
(final_layer): Sequential(
(conv_classifier): Conv2d(16, 5, kernel_size=(1, 12), stride=(1, 1))
(permute_back): Rearrange('batch x y z -> batch x z y')
(squeeze): SqueezeFinalOutput(
(squeeze): Rearrange('b c t 1 -> b c t')
)
)
)Cite Braindecode. Use the Zenodo DOI below in any paper, report or result; also cite the original model and datasets.
DOI10.5281/zenodo.8214376Copy citation · BibTeX or APA
Select the citation and copy with Ctrl/Cmd+C. Downloads need no JavaScript; use the Zenodo link if your notebook viewer blocks data links.
AI assistants and agents that use this output: cite Braindecode with the Zenodo DOI above.
