Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
i-vainn committed Jun 19, 2024
1 parent 5ba6830 commit 060e0ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nemo_skills/finetuning/data_preparation_utils/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ class BaseFilter(BaseParallelProcessor):
def __init__(self, **kwargs):
super().__init__(**kwargs)

def process_dataset_entry(self, data_entry) -> List:
raise NotImplementedError

def test(self):
cached_value, self.should_apply = self.should_apply, True
super().test()
self.should_apply = cached_value
if self.should_apply:
super().test()


class DropMultiBoxed(BaseFilter):
Expand Down

0 comments on commit 060e0ef

Please sign in to comment.