mmengine.runner.find_latest_checkpoint — mmengine 0.10.7 documentation (original) (raw)

Shortcuts

mmengine.runner.find_latest_checkpoint(path)[source]

Find the latest checkpoint from the given path.

Refer to https://github.com/facebookresearch/fvcore/blob/main/fvcore/common/checkpoint.py # noqa: E501

Parameters:

path (str) – The path to find checkpoints.

Returns:

File path of the latest checkpoint.

Return type:

str or None