We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b42d6b commit 1e1729eCopy full SHA for 1e1729e
pytorch_lightning/callbacks/model_checkpoint.py
@@ -78,7 +78,7 @@ def __init__(self, filepath, monitor: str = 'val_loss', verbose: bool = False,
78
# {filename: monitor}
79
self.kth_best_model = ''
80
self.best = 0
81
- self.save_function = lambda x: None
+ self.save_function = None
82
83
mode_dict = {
84
'min': (np.less, np.Inf, 'min'),
0 commit comments