Predict_and_sample (Q3) in Jazz Improvisation with LSTM Networks

Not sure how to pass this testcase…

This is a duplicate thread: I answered on the other one.

I had the same issue, which is solved by

indices = np.argmax(pred, axis=1)

:slight_smile: