LoadCheckpoint#

class composer.callbacks.LoadCheckpoint(load_path, load_weights_only=False, strict_model_weights=True, ignore_keys=None, event=Event.BEFORE_LOAD)[source]#

Callback that loads a checkpoint at the specified event.

Parameters
  • load_path (str) โ€“ The path to the checkpoint to load.

  • load_options (Optional[dict]) โ€“ A dictionary of options to pass to the checkpoint loading function.

  • event (Union[str, Event]) โ€“ The event at which to load the checkpoint. Defaults to Event.BEFORE_LOAD.