Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the Fs #39

Open
hldqiuye123 opened this issue Jan 12, 2021 · 2 comments
Open

About the Fs #39

hldqiuye123 opened this issue Jan 12, 2021 · 2 comments

Comments

@hldqiuye123
Copy link

I noticed that your flow chart of paper , the size of convolution kernel is defined as Fs/2 , but the model.py 77 Line was written that the real convolution kernel is 50. The SAMPLING_RATE = 256 in sleep_stage.py. Is the actual sampling rate 100 or 256?
I will be looking forward to your reply. :)

@besaman
Copy link

besaman commented Feb 28, 2021

the paper used 2 datasets: sleep-EDF with sampling rate 100, and MASS with sampling rate 256 ... so it depends on which one you use.

@WaleedNazih
Copy link

WaleedNazih commented Apr 7, 2022

Thanks for the nice work.

If I have a dataset with a sampling rate of 256, should I modify the following parts model.py?

# Convolution
# network = self._conv1d_layer(input_var=input_var, filter_size=128, n_filters=64, stride=16, wd=1e-3)
network = self._conv1d_layer(input_var=input_var, filter_size=50, n_filters=64, stride=6, wd=1e-3)

######### CNNs with large filter size at the first layer #########
# Convolution
# network = self._conv1d_layer(input_var=input_var, filter_size=1024, n_filters=64, stride=128)
network = self._conv1d_layer(input_var=input_var, filter_size=400, n_filters=64, stride=50)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants