Shortcuts

mmengine.runner.save_checkpoint

mmengine.runner.save_checkpoint(checkpoint, filename, file_client_args=None, backend_args=None)[source]

Save checkpoint to file.

Parameters
  • checkpoint (dict) – Module whose params are to be saved.

  • filename (str) – Checkpoint filename.

  • file_client_args (dict, optional) – Arguments to instantiate a FileClient. See mmengine.fileio.FileClient for details. Defaults to None. It will be deprecated in future. Please use backend_args instead.

  • backend_args (dict, optional) – Arguments to instantiate the preifx of uri corresponding backend. Defaults to None. New in v0.2.0.

Read the Docs v: v0.5.0
Versions
latest
stable
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.