Skip to content

Commit

Permalink
fix lints in embeddings
Browse files Browse the repository at this point in the history
  • Loading branch information
karimdzan committed Oct 20, 2023
1 parent 2f97195 commit c573885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim4rec/modules/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(
self._num_loader_workers = num_loader_workers
self._max_iter = max_iter

# pylint: disable=too-many-locals, not-callable, not-an-iterable
# pylint: disable=too-many-locals, not-callable
def _fit(
self,
dataset : DataFrame
Expand All @@ -140,7 +140,7 @@ def _fit(
device_name = self.getDevice()
seed = self.getSeed()
device = torch.device(self.getDevice())

# pylint: disable=not-an-iterable
X = dataset.select(*inputCols).toPandas().values

torch.manual_seed(torch.seed() if seed is None else seed)
Expand Down

0 comments on commit c573885

Please sign in to comment.