We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7acce35 commit 482784aCopy full SHA for 482784a
official/modeling/model_training_utils.py
@@ -207,7 +207,7 @@ def run_customized_training_loop(
207
'Checkpoint file %s found and restoring from '
208
'initial checkpoint for core model.', init_checkpoint)
209
checkpoint = tf.train.Checkpoint(model=sub_model)
210
- checkpoint.restore(init_checkpoint).assert_consumed()
+ checkpoint.restore(init_checkpoint).assert_existing_objects_matched()
211
logging.info('Loading from checkpoint file completed')
212
213
train_loss_metric = tf.keras.metrics.Mean(
0 commit comments