Commit d9313fd4 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Stop training when tf.data.Dataset objects run out of data and steps_per_epoch...

Stop training when tf.data.Dataset objects run out of data and steps_per_epoch is specified. If steps_per_epoch is not specified, the number of steps needed to reach the end of the dataset is used as the target steps for epochs after the first one. Also added a warning explaining the situation.

PiperOrigin-RevId: 234720553
parent edd13746
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment