Skip to content

Commit

Permalink
Merge pull request #1301 from chenyushuo/master
Browse files Browse the repository at this point in the history
FIX: bug fix for unused_col is not used when using benchmark_file.
  • Loading branch information
Sherry-XLL authored Jun 3, 2022
2 parents 959ec8b + 555a8bd commit ddff621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recbole/data/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,7 @@ def build(self):
self._change_feat_format()

if self.benchmark_filename_list is not None:
self._drop_unused_col()
cumsum = list(np.cumsum(self.file_size_list))
datasets = [self.copy(self.inter_feat[start:end]) for start, end in zip([0] + cumsum[:-1], cumsum)]
return datasets
Expand Down

0 comments on commit ddff621

Please sign in to comment.