C1W2_Assignment / DeepLearning.AI TensorFlow Developer - Grader issue solved

As i was facing issues with the grader (all 3 tests 0 points) even i was convinced, my code is good, i would like to share how i solved it.

As per previous QA discussions and the notebook comments, it is often mentioned that global variables are not taken into consideration by the grader.

Therefore inside the notebook i was misslead by the hint (“you already coded it previously”).

To get the proper grading i therefore changed the model reference to create a new model from the class:
model = create_and_compile_model()

It did the trick for me. I hope this helps anybody.

BR

2 Likes

please choose right category from next time, choosing a specialisation resource category is not relative to one of the course assignment explanation you are providing. You can refer FAQ SECTION and review hot to post in forum, which will guide you, on how to choose categories and tags.

Regards

DP

1 Like