ajyy commited on
Commit
2581c80
1 Parent(s): 86bdf13

Update MELD_Audio.py

Browse files
Files changed (1) hide show
  1. MELD_Audio.py +3 -3
MELD_Audio.py CHANGED
@@ -89,7 +89,7 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
89
 
90
  return [
91
  datasets.SplitGenerator(
92
- name=datasets.Split.TRAIN, # type: ignore # noqa: PGH003
93
  gen_kwargs={
94
  "filepath": metadata_dir["train"],
95
  "split": "train",
@@ -99,7 +99,7 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
99
  },
100
  ),
101
  datasets.SplitGenerator(
102
- name=datasets.Split.DEV, # type: ignore # noqa: PGH003
103
  gen_kwargs={
104
  "filepath": metadata_dir["dev"],
105
  "split": "dev",
@@ -109,7 +109,7 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
109
  },
110
  ),
111
  datasets.SplitGenerator(
112
- name=datasets.Split.TEST, # type: ignore # noqa: PGH003
113
  gen_kwargs={
114
  "filepath": metadata_dir["test"],
115
  "split": "test",
 
89
 
90
  return [
91
  datasets.SplitGenerator(
92
+ name="train",
93
  gen_kwargs={
94
  "filepath": metadata_dir["train"],
95
  "split": "train",
 
99
  },
100
  ),
101
  datasets.SplitGenerator(
102
+ name="dev",
103
  gen_kwargs={
104
  "filepath": metadata_dir["dev"],
105
  "split": "dev",
 
109
  },
110
  ),
111
  datasets.SplitGenerator(
112
+ name="test",
113
  gen_kwargs={
114
  "filepath": metadata_dir["test"],
115
  "split": "test",