Datasets:

Modalities:
Audio
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
patrickvonplaten commited on
Commit
a03099e
·
1 Parent(s): af6cedc
Files changed (1) hide show
  1. ami.py +6 -1
ami.py CHANGED
@@ -209,6 +209,8 @@ _TRAIN_SAMPLE_IDS = [
209
  "TS3012d",
210
  ]
211
 
 
 
212
  _VALIDATION_SAMPLE_IDS = [
213
  "ES2011a",
214
  "ES2011c",
@@ -364,7 +366,10 @@ class AMI(datasets.GeneratorBasedBuilder):
364
  text = " ".join(line_items[1:])
365
  _, meeting_id, microphone_id, speaker_id, begin_time, end_time = _id.split("_")
366
 
367
- if self.config.name == "sdm":
 
 
 
368
  microphone_id = "SDM1"
369
 
370
  audio_filename = "_".join([split, _id.lower()]) + ".wav"
 
209
  "TS3012d",
210
  ]
211
 
212
+ _TRAIN_SAMPLES_BROKEN_SDM = ["IS1003b", "IS1007d"]
213
+
214
  _VALIDATION_SAMPLE_IDS = [
215
  "ES2011a",
216
  "ES2011c",
 
366
  text = " ".join(line_items[1:])
367
  _, meeting_id, microphone_id, speaker_id, begin_time, end_time = _id.split("_")
368
 
369
+ # sdm specific
370
+ if self.config.name == "sdm" and meeting_id in _TRAIN_SAMPLES_BROKEN_SDM:
371
+ continue
372
+ elif self.config.name == "sdm":
373
  microphone_id = "SDM1"
374
 
375
  audio_filename = "_".join([split, _id.lower()]) + ".wav"