Do not override `steps_per_epoch` if it is not None.
Currently if you pass a tf.keras.preprocessing.image.ImageDataGenerator to fit, with a `steps_per_epoch`, your manual `steps_per_epoch` is overridden with the real value. Fix it to only override the value if the `steps_per_epoch` was not manually set. PiperOrigin-RevId: 229774626
Loading
Please sign in to comment