Skip to content

Commit d066b7c

Browse files
author
Saurav Agarwal
committed
update names
1 parent 04d6e94 commit d066b7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/coverage_control/nn/trainers/trainer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ def train(self) -> None:
191191

192192
torch.save(val_loss_history, self.model_dir + "/val_loss.pt")
193193
torch.save(train_loss_history, self.model_dir + "/train_loss.pt")
194-
torch.save(best_model_state_dict, self.model_dir + "/model.pt")
195-
torch.save(best_model_data, self.model_dir + "/model_data.pt")
194+
torch.save(best_model_state_dict, self.model_dir + "/model_val.pt")
195+
torch.save(best_model_data, self.model_dir + "/model_data_val.pt")
196196
torch.save(best_train_model_state_dict, self.model_dir + "/model_train.pt")
197-
torch.save(best_train_model_data, self.model_dir + "/model_train_data.pt")
197+
torch.save(best_train_model_data, self.model_dir + "/model_data_train.pt")
198198

199199
# Train the model in batches
200200
def train_epoch(self) -> float:

0 commit comments

Comments
 (0)