in src/helpers.py [0:0]
def load_checkpoint(self, model: nn.Module) -> nn.Module: """Load model saved with early stopping.""" model.load_state_dict(torch.load(self.filename)["model_state_dict"])