MindSpore provides the callback mechanism to execute customized logic during training. `ModelCheckpoint`and `LossMonitor` provided by the framework are used in this example.
`ModelCheckpoint` can save network models and parameters for subsequent fine-tuning.`LossMonitor` can monitor the changes of the `loss` value during training.
MindSpore provides the callback mechanism to execute customized logic during training. `ModelCheckpoint`provided by the framework is used in this example.
`ModelCheckpoint` can save network models and parameters for subsequent fine-tuning.