Improvise_a_Jazz_Solo_with_an_LSTM_Network_v4-Exercise 2 - music_inference_model

Please help me to resolve

{moderator edit - solution code removed}

I am getting error

Please read this markdown text again:

  • Convert the index into its n_values-one-hot encoding using tf.one_hot.

Posting solution code in a public topic is discouraged and can get your account suspended. It’s okay to share stacktrace on a public post and send code to a mentor via direct message. Do clean up the post. Here’s the community faq to get started.

1 Like