When using Neural_Decoding.decoders, there is an error when importing from keras.utils import np_utils. I resolved this by substituting from keras.utils import np_utils with from keras.utils import to_categorical since only the the to_categorical() method is used in the code.
When using Neural_Decoding.decoders, there is an error when importing
from keras.utils import np_utils. I resolved this by substitutingfrom keras.utils import np_utilswithfrom keras.utils import to_categoricalsince only the theto_categorical()method is used in the code.