Exercise 4 - evaluation gets stuck

I am trying to finish exercise 4 in the CNN section of the course
Every time I run the fit() I see that the model is trained but whenever I try to evaluate it, it keeps getting stuck and never gives me any output.

history = model.fit(train_generator,

# model.evaluate(testing_images, testing_labels, verbose=0)

If I comment it out, the grader doesn’t allow me to submit my submission i.e. it fails me

Hello @danielstankw
Right now I can’t know the problem you are facing without seeing the whole notebook.

Try to rerun the notebook again.
If the problem still exists send me a private message with your notebook so I can help to see the problem.

1 Like