I have been doing the first week’s homework, and once I submit it, I get 0 points and one error:
‘’There was a problem compiling code from the notebook, please check if it has been saved before submitting. Details: The operand types of ‘int’ and ‘NoneType’ are not supported‘’
I have passed all the tests, but still scored 0, but now I am in a dilemma because I keep getting 0/80.
I have tried refreshing/updating the notebook.
please help me!
Please click on my name to start a private message. Then, attach your notebook as a .ipynb file. Please note that mentors cannot access your Coursera Jupyter workspace, so sending the notebook in a .ipynb format is essential.
Let me know if you still have doubt.
in your compute metrics, you are suppose to use tf.keras.losses.MSE and not MeanSquaredError, same for the mae too.
@laodao I just submitted the notebook you sent via direct message and got full score. It’s possible that your changes weren’t saved when the notebook was submitted. Could you please try again?
@Deepti_Prasad : There’s no need to use aliases like MSE instead of MeanSquaredError to pass the grader tests. If you ever see such a mistake, do raise a ticket on github / ping me to get it looked at.