onmt.Checkpoint

Class for saving and loading models during training.

[src]

onmt.Checkpoint:saveIteration(iteration, epochState, batchOrder, verbose)

Save the model and data in the middle of an epoch sorting the iteration.

Undocumented methods

* onmt.Checkpoint.declareOpts(cmd) * onmt.Checkpoint(opt, model, optim, dicts) * onmt.Checkpoint:save(filePath, info) * onmt.Checkpoint:saveEpoch(validPpl, epochState, verbose) * onmt.Checkpoint.loadFromCheckpoint(opt)