Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jan 12, 2025
1 parent f733d04 commit 2eba78d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lenskit/lenskit/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ def train(self, data: Dataset, options: TrainingOptions = TrainingOptions()) ->
return

self.trained_epochs = 0
log = _log.bind(
model=f"{self.__class__.__module__.__qualname__}.{self.__class__.__qualname__}"
)
log = _log.bind(model=f"{self.__class__.__module__}.{self.__class__.__qualname__}")
log.info("training model")
n = self.expected_training_epochs
log.debug("creating training loop")
Expand Down

0 comments on commit 2eba78d

Please sign in to comment.