Hi, I’m working on Course 5 Week 3 Assignment 2 Trigger Word Detection of the Deep Learning Specialization in the Jupyter Notebook C5W3_Assignment_2.ipynb.
Here is the structure of my current working directory:
I don’t see the code you showed in the latest version of that notebook. I think the problem is your files got updated, but your notebook did not. Here’s a sample of how they handle that sort of thing in the current version of the notebook:
So my suggestion would be to do the “Restore Original Version”. But as I’m sure you are aware, that will clobber your current version of the notebook. So you first need to download that to your local system and then after the “restore”, you’ll have to open both notebooks in separate tabs and carefully “copy/paste” any of your pre-existing solution code over to the fresh version. Being careful, of course, to see if any other adaptations are required in the code you wrote previously.
Indeed, it seems that the course staff moved the data folders under model_data overnight and introduced a new variable BASE_DIR pointing to this new folder. Restore Original Version did the trick. Thank you very much for your help!
(This message was postponed due to the fact that I’ve reached the maximum number of replies per day as a new user. )