I am very confuse regarding this error.

Hi @Shantanu7

Your error is stating issue with the train_generator, so kindly go back and check if you recalled with correct arguments in GRADED FUNCTION: train_val_generators, as it is pointing towards incorrect tensorflow execution. As you have shared a incomplete picture of your error, so cannot state more than that.