processing of Deap data in Matlab::EEGLAB

The package "pickle" is buggy while shifting between python 2 and python 3
https://stackoverflow.com/questions/11305790/pickle-incompatibility-of-numpy-arrays-between-python-2-and-3
People are reporting issues that a numpy array with pickle build in python 2 could not be loaded into python 3. Including me. To fix this shit, we need to manually shift the encoding to latin1.

data.shape = (40,40,8064)
label.shape = (40,5)

Done! Ready for training!
Comentários