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
{{ message }}
Repository navigation
create_windows_from_events assigns inconsistent targets across recordings when mapping=None and n_jobs > 1 #1165
When create_windows_from_events is called with mapping=None and n_jobs > 1, event labels can depend on which recording a worker processes. Each worker infers its own mapping instead of sharing one mapping for the concatenated dataset.
For example, consider three recordings with event descriptions left, right, right, and left. Serial windowing assigns right target 1 in both recordings. Parallel windowing can assign right target 0 in the second recording because that worker sees no left events. The resulting labels are inconsistent without an error.
Expected behavior
Inferring the mapping should give each event description the same target ID across recordings, regardless of n_jobs.
Activity