"configs/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "d94cde77e2ec64f268bf527506572fcf35dde2be"
Unverified Commit 3a556b0f authored by Alexander Measure's avatar Alexander Measure Committed by GitHub
Browse files

Update modeling_tf_utils.py (#6372)

fix typo: ckeckpoint->checkpoint
parent 1bbc54a8
...@@ -645,7 +645,7 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin, TFGenerationMixin): ...@@ -645,7 +645,7 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin, TFGenerationMixin):
else: else:
logger.warning( logger.warning(
f"All the weights of {model.__class__.__name__} were initialized from the model checkpoint at {pretrained_model_name_or_path}.\n" f"All the weights of {model.__class__.__name__} were initialized from the model checkpoint at {pretrained_model_name_or_path}.\n"
f"If your task is similar to the task the model of the ckeckpoint was trained on, " f"If your task is similar to the task the model of the checkpoint was trained on, "
f"you can already use {model.__class__.__name__} for predictions without further training." f"you can already use {model.__class__.__name__} for predictions without further training."
) )
if len(error_msgs) > 0: if len(error_msgs) > 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment