distillation
distillation copied to clipboard
IndexError: index 26 is out of bounds for axis 1 with size 26
Hi, I try to "python3.6 train.py --file /disk2/wts/distillation/distillation/data/matlab/emnist-letters.mat --model cnn"
IndexError: index 26 is out of bounds for axis 1 with size 26
Thanks for you!
y_train = to_categorical(y_train-1, nb_classes)
y_test = to_categorical(y_test-1, nb_classes)
source: https://github.com/rstudio/keras/issues/53
Good luck :-)