Skip to content

Commit

Permalink
MetaDataset, cleanup unused _is_same_seq_name_for_each_dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Nov 29, 2024
1 parent e255edc commit eed254d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions returnn/datasets/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,6 @@ def __init__(
self.orig_seq_order_is_initialized = False
self.seq_list_ordered = None # type: typing.Optional[typing.Dict[str,typing.List[str]]]

def _is_same_seq_name_for_each_dataset(self) -> bool:
"""
This should be fast.
"""
main_list = self.seq_list_original[self.default_dataset_key]
for key, other_list in self.seq_list_original.items():
if main_list is not other_list:
return False
return True

def _load_seq_list(self, seq_list_file: Optional[str] = None) -> Dict[str, List[str]]:
"""
:param seq_list_file:
Expand Down

0 comments on commit eed254d

Please sign in to comment.