MousaviSajad / SleepEEGNet

SleepEEGNet: Automated Sleep Stage Scoring with Sequence to Sequence Deep Learning Approach
200 stars 72 forks source link

Unclear what an "aligment_alpha" is #3

Closed HKH515 closed 4 years ago

HKH515 commented 4 years ago

What is an alignment_alpha, as shown in your code? Also, what is alignment_alpha_all?

MousaviSajad commented 4 years ago

Hello,

They are attention weights. I have used them to show which input epochs are important to score the sleep stages. Please look at the visualize.py file where it plots the attention map. Regards, Sajad