C2W3 assignment error

I have question regarding C2W3 assignment in ‘Convolutional Neural Network in Tensorflow’.
I have error saying, '>'is not supported between instances of ‘NoneType’ and ‘float’. However I think the error part is a given code. (Callback cell)
Please help to solve error.

I changed ‘accuracy’ into ‘acc’ in Callback cell and it worked.

AFAIK, the grader will accept accuracy. acc is considered as legacy.

Change the if cell from inside the class myCallback() to this:
if logs.get('accuracy') is not None and logs.get('accuracy') > 0.999:

It might work!

can u share the screenshot of training_generator and validation_generator. i had a similar error and once i edited these. i was able to resolve them