C5 W1 A3 : LSTM Jazz Generation notebook needs restart after code fix

Hello,

The Jazz generation notebook using LSTM may need kernel restart if you change part of code. This is unlike other Jupyter code where rerunning a changed cell suffices. This is apparently due to global variables like LSTM_cell used to transfer learnings …

I ran into this issue and found on community that many people had spent lot of time struggling to find why changed code does not work; only to find a full kernel restart helps. Thanks to many posts in past who had mentioned this issue

If notebook code change is a big issues; it would be useful at least to suggest kernel restart as a markdown cell within notebook after changes so people do not waste their time

Thank you !

2 Likes

Hi @manoj_samel,

Thank you for your feedback. I’ll see what I can do about it.

Best,
Mubsi