1 min readFeb 9, 2019
Hi, I see you’re using test_generator to evaluate the model, What evaluate generator does is it takes its inputs exactly like fit_generator, meaning it expects both the input data and actual target data, and calls predict generator on the input data, finally compares the predictions with the actual target data to return the loss. If you’re using the test generator which has only the input data,it will throw this error. Evaluate with your validation generator.