Datasets:
patrickvonplaten
commited on
Commit
·
5cf3601
1
Parent(s):
1bf40cc
up
Browse files
ami.py
CHANGED
@@ -376,6 +376,8 @@ class AMI(datasets.GeneratorBasedBuilder):
|
|
376 |
continue
|
377 |
elif self.config.name == "sdm":
|
378 |
microphone_id = "SDM1"
|
|
|
|
|
379 |
|
380 |
audio_filename = "_".join([split, _id.lower()]) + ".wav"
|
381 |
|
|
|
376 |
continue
|
377 |
elif self.config.name == "sdm":
|
378 |
microphone_id = "SDM1"
|
379 |
+
_id_items = _id.split("_")
|
380 |
+
_id = "_".join(_id_items[:2] + ["sdm"] + _id_items[3:])
|
381 |
|
382 |
audio_filename = "_".join([split, _id.lower()]) + ".wav"
|
383 |
|