Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify braindecode package version 0.3.2 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathanbfriedman
Copy link

@jonathanbfriedman jonathanbfriedman commented Aug 8, 2018

New braindecode version 0.4.0 as of 11 hours ago. Running previous notebook version installs braindecode 0.4.0 resulting in the following error:

/usr/local/lib/python3.6/dist-packages/braindecode/models/shallow_fbcsp.py in create_network(self)
    88
    89         # Initialization, xavier is same as in paper...
---> 90         init.xavier_uniform_(model.conv_time.weight, gain=1)
    91         # maybe no bias in case of no split layer and batch norm
    92         if self.split_first_layer or (not self.batch_norm):
AttributeError: module 'torch.nn.init' has no attribute 'xavier_uniform_'

New braindecode version 0.4.0 as of 11 hours ago. Running previous notebook version installs braindecode 0.4.0 resulting in the following error:

/usr/local/lib/python3.6/dist-packages/braindecode/models/shallow_fbcsp.py in create_network(self)
    88
    89         # Initialization, xavier is same as in paper...
---> 90         init.xavier_uniform_(model.conv_time.weight, gain=1)
    91         # maybe no bias in case of no split layer and batch norm
    92         if self.split_first_layer or (not self.batch_norm):
AttributeError: module 'torch.nn.init' has no attribute 'xavier_uniform_'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant