cedricrommel on master
Implement ATCNet Create ATCNet test Update api.rst and whats_new.rst and 15 more (compare)
AttributeError Traceback (most recent call last)
<ipython-input-11-596ca18789b8> in <module>()
--> 114 regressor.fit(train_set, y=None, epochs=n_epochs)
/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)
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