I’m in Chapter 6 - The first evaluation.

- When I try to execute:

model.evaluate_generator(test_generator)

=> I get this error:

Then I rewrite this code like this:

model.evaluate_generator(test_generator, steps=15)

=> And it works:

- Similar problem is in “Training the logistic regression model”:

model.fit_generator(train_generator, validation_data=val_generator, epochs=5, workers=4)

I fixed this like this:

model.fit_generator(train_generator, steps_per_epoch=15, epochs=5, validation_data=val_generator, validation_steps=15, workers=4)

=> Why 15? I don’t know, I just put some number

Maybe it’s because I use this version:

But the way, I really like this book so far: now I know how to start up (this terminal thing, environment set put and launching Jupyter’s notebooks, which I’ve seen in advanced videos but didn’t know how they got this) AND Thank You for explaining math behind this stuff, those simple explanations was very helpful