There are two methods to resume training from a checkpoint.