We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
best.pt
1 parent a123419 commit baa8fb5Copy full SHA for baa8fb5
1 file changed
the_well/benchmark/trainer/training.py
@@ -460,6 +460,7 @@ def train(self):
460
self.save_model(
461
epoch, val_loss, os.path.join(self.checkpoint_folder, "best.pt")
462
)
463
+ self.best_val_loss = val_loss
464
# Check if time for expensive validation - periodic or final
465
if epoch % self.rollout_val_frequency == 0 or (epoch == self.max_epoch):
466
logger.info(
0 commit comments