From 2eba78d03849ffdf67200c0ad74ec979b84d9319 Mon Sep 17 00:00:00 2001 From: Michael Ekstrand Date: Sat, 11 Jan 2025 20:06:26 -0500 Subject: [PATCH] fix logging --- lenskit/lenskit/training.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lenskit/lenskit/training.py b/lenskit/lenskit/training.py index ab5d2d2c4..3603a843f 100644 --- a/lenskit/lenskit/training.py +++ b/lenskit/lenskit/training.py @@ -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")