Nikita Pavlichenko commited on
Commit
e153926
1 Parent(s): 9c87086

Fix splits names

Browse files
Files changed (1) hide show
  1. CrowdSpeech.py +3 -3
CrowdSpeech.py CHANGED
@@ -91,9 +91,9 @@ class CrowdSpeech(datasets.GeneratorBasedBuilder):
91
  return [
92
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train-clean"]}),
93
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test-clean"]}),
94
- datasets.SplitGenerator(name='test-other', gen_kwargs={"filepath": downloaded_files["test-other"]}),
95
- datasets.SplitGenerator(name='dev-clean', gen_kwargs={"filepath": downloaded_files["dev-clean"]}),
96
- datasets.SplitGenerator(name='dev-other', gen_kwargs={"filepath": downloaded_files["dev-clean"]}),
97
  ]
98
 
99
  def _generate_examples(self, filepath):
 
91
  return [
92
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train-clean"]}),
93
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test-clean"]}),
94
+ datasets.SplitGenerator(name='test.other', gen_kwargs={"filepath": downloaded_files["test-other"]}),
95
+ datasets.SplitGenerator(name='dev.clean', gen_kwargs={"filepath": downloaded_files["dev-clean"]}),
96
+ datasets.SplitGenerator(name='dev.other', gen_kwargs={"filepath": downloaded_files["dev-clean"]}),
97
  ]
98
 
99
  def _generate_examples(self, filepath):