You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The doc says :
"window_stride_samples (int | None) – Stride between windows in samples. If None, set to be equal to winddow_size_samples, so windows will not overlap."
but when window_stride_samples is None and window_size_samples is not, we get an assertion error. window_stride_samples is not set to be equal to window_size_samples : https://github.com/braindecode/braindecode/blob/master/braindecode/preprocessing/windowers.py#L583
The text was updated successfully, but these errors were encountered:
apmellot
changed the title
Inconsinstency between doc and code in create_fixed_length_windows
Inconsistency between doc and code in create_fixed_length_windows
Sep 7, 2023
The doc says :
"window_stride_samples (int | None) – Stride between windows in samples. If None, set to be equal to winddow_size_samples, so windows will not overlap."
but when
window_stride_samples
is None andwindow_size_samples
is not, we get an assertion error.window_stride_samples
is not set to be equal towindow_size_samples
:https://github.com/braindecode/braindecode/blob/master/braindecode/preprocessing/windowers.py#L583
The text was updated successfully, but these errors were encountered: