Cell #7. Can't compile the student's code. Error: TypeError("'NoneType' object cannot be interpreted as an integer")

Cell #7. Can’t compile the student’s code. Error: TypeError(“‘NoneType’ object cannot be interpreted as an integer”)

my entire code is running correctly without any error

Hey @Krishay_Bhardwaj,
Can you please let us know the week and the assignment to which you are referring to in DLS C5? Also, if your entire code is running without an error, then this error is most probably due to something that is not being caught by the test cases or due to something that you might have changed involuntarily. Can you please DM your notebook to me as an attachment?

Cheers,
Elemento

Hey @Krishay_Bhardwaj,
For the below line of code, I can clearly see an error in your notebook.

inference_model = music_inference_model(LSTM_cell, densor, Ty = 50)

In fact, you haven’t even attempted Exercise 3. Please go through the notebook carefully before trying to submit it. Let me know if this helps.

Cheers,
Elemento