From a653879f1841125832b82b076b5751ce7e22f1d9 Mon Sep 17 00:00:00 2001 From: zhangyi Date: Wed, 20 Apr 2022 09:40:27 +0800 Subject: [PATCH] modify the file --- tutorials/source_en/advanced/train/save.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/source_en/advanced/train/save.md b/tutorials/source_en/advanced/train/save.md index 704647cfed..18ce265424 100644 --- a/tutorials/source_en/advanced/train/save.md +++ b/tutorials/source_en/advanced/train/save.md @@ -19,7 +19,7 @@ The following uses examples to describe how to save MindSpore CheckPoint files, The [Save and Load section](https://mindspore.cn/tutorials/zh-CN/master/beginner/save_load.html) of the beginner tutorials describes how to save model parameters directly using `save_checkpoint` and using the Callback mechanism to save model parameters during training. This section further describes how to save model parameters during training and use `save_checkpoint` save model parameters directly. -### Savig the models during the training +### Saving the models during the training Saving model parameters during training. MindSpore provides two saving strategies, an iteration policy and a time policy, which can be set by creating a `CheckpointConfig` object. The iteration policy and the time policy cannot be used at the same time, where the iterative policy takes precedence over the time policy, and when set at the same time, only iteration policy can take effect. When the parameter display is set to None, the policy is abandoned. In addition, when an exception occurs during training, MindSpore also provides a breakpoint retrain function, that is, the system will automatically save the CheckPoint file when the exception occurs. -- Gitee