Skip to content

Commit a7aa3da

Browse files
committed
if logging with wandb, unwatch the model after training
1 parent b310bb8 commit a7aa3da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pytorch_tabular/tabular_model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,8 @@ def train(
686686
"/n" + "Original Error: " + oom_handler.oom_msg
687687
)
688688
self._is_fitted = True
689+
if self.track_experiment and self.config.log_target == "wandb":
690+
self.logger.experiment.unwatch(self.model)
689691
if self.verbose:
690692
logger.info("Training the model completed")
691693
if self.config.load_best:

0 commit comments

Comments
 (0)