braindecode 0.1.4.3__tar.gz → 0.1.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/Braindecode.egg-info/PKG-INFO +1 -1
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/PKG-INFO +1 -1
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/iterators.py +7 -1
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/setup.py +1 -1
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/Braindecode.egg-info/SOURCES.txt +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/Braindecode.egg-info/dependency_links.txt +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/Braindecode.egg-info/not-zip-safe +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/Braindecode.egg-info/requires.txt +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/Braindecode.egg-info/top_level.txt +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/LICENSE.txt +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/MANIFEST.in +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/README.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datasets/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datasets/bbci.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datasets/multiple.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/signal_target.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/signalproc.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/splitters.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/trial_segment.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/datautil/util.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/experiments/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/experiments/experiment.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/experiments/monitors.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/experiments/stopcriteria.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/mne_ext/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/mne_ext/signalproc.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/models/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/models/deep4.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/models/shallow_fbcsp.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/torch_ext/__init__.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/torch_ext/constraints.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/torch_ext/functions.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/torch_ext/losses.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/torch_ext/modules.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/torch_ext/util.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/braindecode/util.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/Makefile +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/conf.py +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/index.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/notebooks/BBCI_Data.ipynb +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/notebooks/BBCI_Data_Start_Stop.ipynb +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/notebooks/Cropped_Decoding.ipynb +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/notebooks/Experiment_Class.ipynb +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/notebooks/TrialWise_Decoding.ipynb +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.datasets.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.datautil.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.experiments.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.mne_ext.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.models.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/braindecode.torch_ext.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/docs/source/modules.rst +0 -0
- {Braindecode-0.1.4.3 → Braindecode-0.1.4.4}/setup.cfg +0 -0
|
@@ -77,7 +77,13 @@ class BalancedBatchSizeIterator(object):
|
|
|
77
77
|
rng=self.rng,
|
|
78
78
|
shuffle=shuffle)
|
|
79
79
|
for batch_inds in batches:
|
|
80
|
-
|
|
80
|
+
batch_X = dataset.X[batch_inds]
|
|
81
|
+
batch_y = dataset.y[batch_inds]
|
|
82
|
+
|
|
83
|
+
# add empty fourth dimension if necessary
|
|
84
|
+
if batch_X.ndim == 3:
|
|
85
|
+
batch_X = batch_X[:, :, :, None]
|
|
86
|
+
yield (batch_X, batch_y)
|
|
81
87
|
|
|
82
88
|
def reset_rng(self):
|
|
83
89
|
self.rng = RandomState(328774)
|
|
@@ -15,7 +15,7 @@ setup(
|
|
|
15
15
|
# Versions should comply with PEP440. For a discussion on single-sourcing
|
|
16
16
|
# the version across setup.py and the project code, see
|
|
17
17
|
# http://packaging.python.org/en/latest/tutorial.html#version
|
|
18
|
-
version='0.1.4.
|
|
18
|
+
version='0.1.4.04',
|
|
19
19
|
|
|
20
20
|
description='A deep learning toolbox to decode raw time-domain EEG.',
|
|
21
21
|
long_description=long_description,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|