braindecode
braindecode copied to clipboard
Preserve order when splitting datasets
Splitting of datasets (https://github.com/braindecode/braindecode/blob/master/braindecode/datasets/base.py#L160-L162) should probably return an OrderedDict. For example, if data is split for subjects or enumerated runs, then iterating through the returned dictionary should contain data of subject or runs in ascending order.
Please check if this is even necessary with current Python Version
Hi @robintibor and @gemeinl, I performed some tests and the order is being preserved in the split.
great