Update libriheavy.py
Browse files- libriheavy.py +1 -1
libriheavy.py
CHANGED
|
@@ -153,7 +153,7 @@ class Libriheavy(datasets.GeneratorBasedBuilder):
|
|
| 153 |
# skip the last utterance
|
| 154 |
if utterance_id == sorted(list(text.keys()))[-1]:
|
| 155 |
continue
|
| 156 |
-
print(npz.keys())
|
| 157 |
result = {
|
| 158 |
"id": chunk["speaker_id"] + "_" + utterance_id,
|
| 159 |
"speaker_id": chunk["speaker_id"],
|
|
|
|
| 153 |
# skip the last utterance
|
| 154 |
if utterance_id == sorted(list(text.keys()))[-1]:
|
| 155 |
continue
|
| 156 |
+
print(npz[str(utterance_id)].item().keys())
|
| 157 |
result = {
|
| 158 |
"id": chunk["speaker_id"] + "_" + utterance_id,
|
| 159 |
"speaker_id": chunk["speaker_id"],
|