Motivation:
Currently both train and eval modes are saving checkpoints, and best checkpoint. This was causing some troubles on our side when we implemented parallel validation runs that were then overwriting the checkpoints from the train run.
This change is passing a boolean flag save_checkpoint into post interaction function, which is set to False in case it is called from eval mode.
Motivation: Currently both train and eval modes are saving checkpoints, and best checkpoint. This was causing some troubles on our side when we implemented parallel validation runs that were then overwriting the checkpoints from the train run.
This change is passing a boolean flag save_checkpoint into post interaction function, which is set to False in case it is called from eval mode.