Ensure that saving/restoring iterator in CheckpointInputPipelineHook is...
Ensure that saving/restoring iterator in CheckpointInputPipelineHook is performed *after* the _DatasetInitializerHook has been run. In the TPUEstimator the _DatasetInitializerHook is present in the EstimatorSpec.training_hooks. Since these are executed after the `hooks` passed to Estimator.train the input pipeline checkpointing hook fails since it finds an uninitialized iterator. PiperOrigin-RevId: 197482609
Loading
Please sign in to comment