espnet.asr.asr_utils.torch_resume
Less than 1 minute
espnet.asr.asr_utils.torch_resume
espnet.asr.asr_utils.torch_resume(snapshot_path, trainer)
Resume from snapshot for pytorch.
- Parameters:
- snapshot_path (str) – Snapshot file path.
- trainer (chainer.training.Trainer) – Chainer’s trainer instance.