For the upcoming code assignment, "Trigger Word Detection", if you open the notebook and see the following pop-up error message

"Error loading notebook ... An unknown error occurred while loading this notebook. This version can load notebook formats v4 or earlier. See the server log for details"

Please continue reading to see how to fix this issue.

This error occurs because the notebook outputs many small audio files when you run the code. If you save the notebook, close it, and then re-open it, you may see this pop-up error message and a blank notebook.

Here are instructions to help you clear the notebook's cell outputs so that you can open your notebook.

* Go to any other programming assignment in this course and open the notebook.

* Click on the "Coursera" logo in the top left corner to access the file directory.

* Navigate to Week 3. Duplicate your notebook 'Trigger word detection - v1.ipynb' and give it another name, such as "tmp.ipynb".

* Open a terminal window by going to the top right and clicking "New", and in the drop-down menu, click "Terminal".

* Within the terminal, navigate to the 'Week 3' folder. You can type cd Week\ 3/Trigger\ word\ detection/

* You can check that you're in the correct directory by typing 'pwd' (print working directory), and see the contents of that directory by typing 'ls'.

* Type this command to remove the code outputs:

jupyter nbconvert tmp.ipynb --to notebook --ClearOutputPreprocessor.enabled=True --output tmp.ipynb

Now you can go back to your file directory and open the 'tmp.ipynb' notebook. Verify that it opens properly. Then you can delete the original notebook and rename this tmp file as 'Trigger word detection - v1.ipynb'.

Many thanks to Loic Roldan Waals for sharing this fix. Here is Loic's forum post .

We are contacting the team at Coursera to find a more permanent fix to this issue.

Thanks!

- The deeplearning.ai team