
The semantics of the Keras 2 argument`steps_per_epoch` is not the same as the Keras 1 argument `samples_per_epoch`.`steps_per_epoch` is the number of batches to draw from the generator at eachepoch. Basically steps_per_epoch = samples_per_epoch/batch_size. Similarly`nb_val_samples`->`validation_steps` and `val_samples`->`steps` argumentshave changed. Update your method calls accordingly.
就是这句话 他说keras1版本的`samples_per_epoch`跟2版本的`steps_per_epoch` 不一样 所以我改了呀 ,新的是在网上找的,旧的我注释掉了 可是还是没用 ,有人知道这是怎么回事吗