Link to the classroom item you are referring to:
This is the Lab2 in C3W3
Description (include relevant info but please do not post solution code or your entire notebook):
I am using a local setup (HP Laptop, XEON CPU, windows 10, Anaconda, Jupyterlab) to run C3W3 examples. When I run model.summary the output is completely empty. I found similar issues with C3W2 examples also
When I am training the model it is quite slow. I am only using my CPU and I understand it will be slower when compared with GPU but course examples from C1/C2 were trained way faster than the examples in C3.
As you can see in below picture, each epoch takes 40+ minutes to complete.
Did you download all the metadata required for you to run the codes in your local environment??
Also another reason I can guess seeing your codes is, although you did mention the embedding_dim and other layers dim, I don’t see any code recalled related to dataset(text/image) you require for the model to be built
I am running the ungraded labs and I dont see any metadata downloaded for the same in the code ? Can you point to the respective metadata needed for the Ungraded Lab: Multiple LSTMs.
I am just running the default code provided by the deeplearning.ai without any changes
Well I do not have the download progress as shown in your case (might be because it is already downloaded) but when I print the info of the dataset, it seems to point to the right one
can you try the step I mentioned once. first run tensorflow dataset notebook locally in separate notebook, then run the code cells from the ungraded lab, tell me if the issue still persist!!!
one more thing I forgot to ask you did you click the not trusted in the local jupyter??
What is that not trusted in the local jupyter is ? Where can I do it?
Also can you tell me if I am tfds in jupterlab in windows, what will be the download location where it is downloaded by default? I dont see the respective dataset in the folder where model files are present.
Well i deleted the previous datasets downloaded by the tensorflow datasets and re-ran the model from the first cell and it still fails by showing model summary as empty
Ajit after you did this you are suppose to first download the notebook from the below link, (in the below link you will find a symbol download which once you download, make sure you locate the download file in your main local c drive.
then open that notebook, run each cell one by one. once that is done,
then run the codes from the assignment. make sure you’re running single cell and not run all option
I am using Anaconda to launch Jupterlab which is part of OS drive.
Well this is not my first time running the notebooks in this windows laptop as I was doing the same for C1 and C2. Only with C3 I am observing this issue.
also it is not necessary every course or all courses have same issues.
so to find a work around which worked previously and is currently not working means there is a issue and that is what I am trying to find without knowing your system settings. so trying to guide you as per how it worked for me.
also can I know your python version? and tensorflow version in your system, even this mismatch can cause issue