Braindecode 1.5.0.dev1007__py3-none-any.whl → 1.5.0.dev1009__py3-none-any.whl
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/models/base.py +16 -4
- braindecode/version.py +1 -1
- {braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/METADATA +1 -1
- {braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/RECORD +8 -8
- {braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/WHEEL +0 -0
- {braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/licenses/LICENSE.txt +0 -0
- {braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/licenses/NOTICE.txt +0 -0
- {braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/top_level.txt +0 -0
braindecode/models/base.py
CHANGED
|
@@ -33,13 +33,25 @@ huggingface_hub = _soft_import(
|
|
|
33
33
|
HAS_HF_HUB = huggingface_hub is not False
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
_HF_INSTALL_HINT = (
|
|
37
|
+
"requires the `huggingface_hub` package. "
|
|
38
|
+
"Install with: pip install 'braindecode[hub]'"
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class _BaseHubMixinStub:
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_pretrained(cls, *args, **kwargs):
|
|
45
|
+
raise ImportError(f"{cls.__name__}.from_pretrained() {_HF_INSTALL_HINT}")
|
|
46
|
+
|
|
47
|
+
def push_to_hub(self, *args, **kwargs):
|
|
48
|
+
raise ImportError(f"{type(self).__name__}.push_to_hub() {_HF_INSTALL_HINT}")
|
|
38
49
|
|
|
39
50
|
|
|
40
51
|
# Define base class for hub mixin
|
|
41
|
-
|
|
42
|
-
|
|
52
|
+
_BaseHubMixin: Type = (
|
|
53
|
+
huggingface_hub.PyTorchModelHubMixin if HAS_HF_HUB else _BaseHubMixinStub
|
|
54
|
+
)
|
|
43
55
|
|
|
44
56
|
|
|
45
57
|
def deprecated_args(obj, *old_new_args):
|
braindecode/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.5.0.
|
|
1
|
+
__version__ = "1.5.0.dev1009"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: braindecode
|
|
3
|
-
Version: 1.5.0.
|
|
3
|
+
Version: 1.5.0.dev1009
|
|
4
4
|
Summary: Deep learning software to decode EEG, ECG or MEG signals
|
|
5
5
|
Author-email: Robin Tibor Schirrmeister <robintibor@gmail.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Alexandre Gramfort <agramfort@meta.com>
|
|
6
6
|
Maintainer-email: Alexandre Gramfort <agramfort@meta.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Robin Tibor Schirrmeister <robintibor@gmail.com>
|
|
@@ -3,7 +3,7 @@ braindecode/classifier.py,sha256=7kC_oY_UzHEes_WWdCvEpiA1ZKxMeuLL5tIPp5rfcpg,962
|
|
|
3
3
|
braindecode/eegneuralnet.py,sha256=xjE6aPZdCQPs29NIpy_m1GLMMC2WZ3Db0Fuh1-xE1h4,13827
|
|
4
4
|
braindecode/regressor.py,sha256=KiMJpqCUPWA2k2JWk9HGYTzeoBqJ4gAKEudeUVcFZY4,9266
|
|
5
5
|
braindecode/util.py,sha256=f8bNIwt-SwsHqheH_BADQxTtA9oPt3Lb7GFnoI-Huwc,14101
|
|
6
|
-
braindecode/version.py,sha256=
|
|
6
|
+
braindecode/version.py,sha256=h-xo6DbaCnLNWiDRfbpORkPj2MbnhveSoKLsKguC9T4,30
|
|
7
7
|
braindecode/augmentation/__init__.py,sha256=4xune2QUK6KHMKsAqijF7I9eeiVbP0wEoQJjCNLNcKM,1081
|
|
8
8
|
braindecode/augmentation/base.py,sha256=OJ1shOljI1yTY9zh2qWxQwivlY43sfx9Q-MAyMhxtPs,7338
|
|
9
9
|
braindecode/augmentation/functional.py,sha256=q2k6mAXrujYlOZUndcjZN8e8b-6oJF1gGsORAI23hyE,43998
|
|
@@ -43,7 +43,7 @@ braindecode/models/__init__.py,sha256=SwnwJ-nRF0nWq2YYvw6G4F_zMrw0QCQW2VoYE2KOpS
|
|
|
43
43
|
braindecode/models/atcnet.py,sha256=JzLV92WYWlhQol8AqE9xeWvlnWN_uswYhVOkMnuBCXo,32231
|
|
44
44
|
braindecode/models/attentionbasenet.py,sha256=k7ar7aEjANudPu7krAZsRx-ag61ugirS1Xn7qFKNfWg,30483
|
|
45
45
|
braindecode/models/attn_sleep.py,sha256=F9x4spTtzfiCC1h9UYITmIDQeJW6_2CXTZktZX9R0RE,17950
|
|
46
|
-
braindecode/models/base.py,sha256=
|
|
46
|
+
braindecode/models/base.py,sha256=O3pkmdqaBgLWHpWkVF7ld0A95T43RFyno7mtkyi08as,28327
|
|
47
47
|
braindecode/models/bendr.py,sha256=RkPeHoFF0vcDBW2jMo_9oS1Pxuq3wcI4ErDeL7L8QGs,29157
|
|
48
48
|
braindecode/models/biot.py,sha256=UPpT1Gv7siBCMcNDNx4DS4hgs-YlmWwU5Nmikaj9WpY,22309
|
|
49
49
|
braindecode/models/brainmodule.py,sha256=idyQVTp3VBJXKF1YjMx8o1kUKrcL_E_AJsioPjcuqV8,33282
|
|
@@ -128,9 +128,9 @@ braindecode/visualization/frequency.py,sha256=gNwkn9yIik5SUp7d9HE9J_vPVGyzNsxxCO
|
|
|
128
128
|
braindecode/visualization/metrics.py,sha256=j01kc04P9uEkQ2g2Tt2C76yr6soIj31PAuBMflrmODg,13615
|
|
129
129
|
braindecode/visualization/sanity.py,sha256=nNClauUC8dCj_KCy_1RmaPDQAqExLczfPtUeQ7k9-Q0,4812
|
|
130
130
|
braindecode/visualization/topology.py,sha256=mXxUfCCUJqa_cMF4y6GC3_A-qBCcS4uTc0EzBolkytE,2274
|
|
131
|
-
braindecode-1.5.0.
|
|
132
|
-
braindecode-1.5.0.
|
|
133
|
-
braindecode-1.5.0.
|
|
134
|
-
braindecode-1.5.0.
|
|
135
|
-
braindecode-1.5.0.
|
|
136
|
-
braindecode-1.5.0.
|
|
131
|
+
braindecode-1.5.0.dev1009.dist-info/licenses/LICENSE.txt,sha256=7rg7k6hyj8m9whQ7dpKbqnCssoOEx_Mbtqb4uSOjljE,1525
|
|
132
|
+
braindecode-1.5.0.dev1009.dist-info/licenses/NOTICE.txt,sha256=ZFFhigxIaKgDcMjCzPyAVSFV42ztU0kLOENt_kvherw,857
|
|
133
|
+
braindecode-1.5.0.dev1009.dist-info/METADATA,sha256=F3Eilqi7ANfNu4XyCBrlrvbMG9ip0QtI-nRv_hEYO-I,10275
|
|
134
|
+
braindecode-1.5.0.dev1009.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
135
|
+
braindecode-1.5.0.dev1009.dist-info/top_level.txt,sha256=pHsWQmSy0uhIez62-HA9j0iaXKvSbUL39ifFRkFnChA,12
|
|
136
|
+
braindecode-1.5.0.dev1009.dist-info/RECORD,,
|
|
File without changes
|
{braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/licenses/LICENSE.txt
RENAMED
|
File without changes
|
{braindecode-1.5.0.dev1007.dist-info → braindecode-1.5.0.dev1009.dist-info}/licenses/NOTICE.txt
RENAMED
|
File without changes
|
|
File without changes
|