Skip to content

Commit

Permalink
fix typo on logger warning in general_dataloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
al-difonzo authored Jan 21, 2024
1 parent 4121d5c commit e898aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recbole/data/dataloader/general_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, config, dataset, sampler, shuffle=False):
else:
self.sample_size = len(dataset)
if shuffle:
self.logger.warnning("NegSampleEvalDataLoader can't shuffle")
self.logger.warning("NegSampleEvalDataLoader can't shuffle")
shuffle = False
super().__init__(config, dataset, sampler, shuffle=shuffle)

Expand Down Expand Up @@ -227,7 +227,7 @@ def __init__(self, config, dataset, sampler, shuffle=False):

self.sample_size = len(self.user_df) if not self.is_sequential else len(dataset)
if shuffle:
self.logger.warnning("FullSortEvalDataLoader can't shuffle")
self.logger.warning("FullSortEvalDataLoader can't shuffle")
shuffle = False
super().__init__(config, dataset, sampler, shuffle=shuffle)

Expand Down

0 comments on commit e898aaa

Please sign in to comment.