cedricrommel on master
Implement ATCNet Create ATCNet test Update api.rst and whats_new.rst and 15 more (compare)
also, if we already had mne epochs, would there also be a clear way atm? is this not intended atm? how is it?
I will see to this next. It could become a bit more tricky, though. The WindowsDataset
gives x, y, ind
, where y
and ind
are read from the metadata
pandas.DataFrame
from the mne.Epochs
objects. If it is not there, you have to manually add it. I have never tried it, will see how it can be done.
description
argument of BaseDataset
from pandas.Series
to dict
and cast it internally. What do you think abou this?
AttributeError Traceback (most recent call last)
<ipython-input-11-596ca18789b8> in <module>()
112 )
113
--> 114 regressor.fit(train_set, y=None, epochs=n_epochs)
6 frames
/content/notebooks/braindecode/util.py in iter(self)
364 x = x.type(torch.float32)
365 if self.is_regression:
--> 366 y = y.type(torch.float32)
367 else:
368 y = y.type(torch.int64)
AttributeError: 'list' object has no attribute 'type'
How cool that you are using the new braindecode tutorials! We were happy with that. I can help you, but using the issue system, okay?
Copy and paste what you wrote here and try to put a minimum code so we can reproduce your error. Please do not put your confidential data; try to reproduce the error with the same data from the tutorial. I feel this is an issue with the cropped option, given the way it does the slicing, but we need to reproduce it to be sure. If it's just a problem with your code or a problem with braindecode, we can solve it.
Please let me know if you need assistance opening the new issue, @gigivis_gitlab