C3W3 grader error

models.h5 has been passed in the google collab.

However, all the attempts at uploading give only

There was a problem grading your submission. Check stderr for more details.

Please advice

Hi @Cintia_Iha

There are some compatibility issues between the TensorFlow version in Colab and the version in the Grader.

Try to include this lines at the beginning of your notebook:

Install packages for compatibility with the autograder

!pip install tensorflow==2.9.0 --quiet
!pip install keras==2.9.0 --quiet

I think that both, colab and grader, are compatible with tensorflow 2.9.

Hope it helps.


The code worked without the --quiet flag. Thank you