Jazz assignment week1 couse

hello guys, i need some help with the jazz assignment, so i have reached the point where i want to extract the highest probability value from the predictions but i keep getting this error, any suggestions?

Please note that you filed this under “General Discussion”. You’ll have better luck if you file it under the relevant course. I moved it for you to DLS - Course 5.

It also might be a safer strategy to actually specify the number of classes on the call to to_categorical. It will try to guess the number of classes, but your data sample might not include an example with the maximum number of classes.