I’ve downloaded all the files of Course5 Week1 Assignment 3: Jazz Improvisation with LSTM, but I can not run the codes in my computer using jupyter, could anyone help me figure out this problem? My goal is to run the codes and modify the codes in my own computer after I complete all the courses.
The files can be seen in this following picture:
The error can be seen in this following picture:
The right top shows the kernel is not connected, and I try to reconnect, but it can not work. Do I need to change the kernel?
When I launch jupyter notebook from a shell on MacOS, the server writes status and error messages back to that shell after it launches the notebook. Are you seeing anything that might indicate a server crash?
1 Like
There is quite a lot of software you need to get installed in addition to simply downloading all the files associated with the assignment. You also have to deal with the fact that all the packages in this space mutate quite rapidly, so you can’t just blithely assume the notebooks will work with whatever versions of the many required packages that happen to be installed on your system.
There are no “official” instructions for how to do this, but here’s a thread put together by a fellow student which has lots of helpful pointers and links. You’ll see pretty quickly that this is a non-trivial exercise, which requires some resourcefulness and problem solving skills to get through.
1 Like
Oh, sorry, I think I gave you the same info on a different thread a couple of hours ago. The kernel error may indicate that your Jupyter software is not configured correctly or perhaps you need to modify the “ipynb” file to tell it that the server is your local Jupyter instance and not the Coursera server up on AWS. Mind you, I have not tried to do this and make no claim to understand how it works. But if you want to play this game, then you need to have the skills to find the answers to questions like this. E.g. try googling “how does a Jupyter notebook know where the kernel server is”.
1 Like
Here’s what I see…
(tf_macos) ~@~-MacBook-Pro 1. Neural Networks % jupyter notebook
[I 15:21:56.113 NotebookApp] Serving notebooks from local directory: /Users/~/Documents/machine-learning/Deep Learning Coursera/1. Neural Networks
[I 15:21:56.113 NotebookApp] Jupyter Notebook 6.4.4 is running at:
[I 15:21:56.113 NotebookApp] http://localhost:8888/?token=311a8e2fe5dd9c0102c3fac12ec6cfa404986f1f68a3209c
[I 15:21:56.113 NotebookApp] or http://127.0.0.1:8888/?token=311a8e2fe5dd9c0102c3fac12ec6cfa404986f1f68a3209c
[I 15:21:56.113 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:21:56.116 NotebookApp]
and once a notebook is opened…
The URL looks like this: http://localhost:8888/notebooks/Building%2Byour%2BDeep%2BNeural%2BNetwork%2B-%2BStep%2Bby%2BStep%2Bv8.ipynb. [NOTE: localhost:8888]
and then various messages such as:
[I 15:26:11.014 NotebookApp] Saving file at /Building+your+Deep+Neural+Network±+Step+by+Step+v8.ipynb
[I 15:26:28.080 NotebookApp] Starting buffering for 274cfa5e-1186-44e4-8878-d6ad642c0e5d:83d6d603a6d44d31b60a4f5f993a9f04
[I 15:26:28.291 NotebookApp] Kernel restarted: 274cfa5e-1186-44e4-8878-d6ad642c0e5d
[I 15:26:28.299 NotebookApp] Restoring connection for 274cfa5e-1186-44e4-8878-d6ad642c0e5d:83d6d603a6d44d31b60a4f5f993a9f04
…
[I 15:57:22.749 NotebookApp] Kernel shutdown: 274cfa5e-1186-44e4-8878-d6ad642c0e5d