Loads a PosteriorModel from a checkpoint, as well as the corresponding WaveformDataset, in order to continue training. It initializes the saved optimizer and scheduler from the checkpoint.
Parameters
Name
Type
Description
Default
checkpoint_name
str
File name containing the checkpoint (.pt format).
required
local_settings
dict
Local settings (e.g., num_workers, device)
required
train_dir
str
Path to training directory where the wandb info is saved.