Hi,
Is there a problem with grading assignment 2?
I get this error on the last check in create_model
“There was a problem grading your submission. Details:
local variable ‘history’ referenced before assignment”
My model does get training and validation accuracy required but it fails due to this.
Br,
Sridhar A
Hello Sridhar,
Please refresh your notebook according to the below link
This will come in handy whenever you need to start from scratch, fetch the latest version of the assignment, or run into a 404 error. Take note that these instructions are for the Tensorflow Developer Certificate courses. These run on Jupyter Lab. The instructions will be different for other DeepLearning.AI courses that use other environments.
Open the notebook from the classroom.
In the sidebar after the notebook opens up, right click on the notebook’s filename and select Rename.
Enter any fi…
Are you trying to submit the same assignment where you having issue with a grader cell which you shared in another post??
Regards
DP
I tried the assignment refresh and I still get the same error.
Model accuracy:
Error:
Hello Sridhar,
Your model has some issues. Please refer the link below to make the corrections.
You have created two posts for the same assignment. I have commented on that post.
Hello Sridhar,
There are few issues with your models
The embedding layer needs correction.
Please follow this link, to make correction
tf.keras.layers.Embedding | TensorFlow v2.13.0
in the link, you will come across input_dim, output_dim and input_length, defining your embedding layer and the values for these are already mentioned at the beginning of the assignment.
The next major issue with your model is your activation choice. This is multi class classification, do you feel you are …
Regards
DP