diff options
author | Marvin Borner | 2023-07-04 14:27:28 +0200 |
---|---|---|
committer | Marvin Borner | 2023-07-04 14:27:28 +0200 |
commit | c4f567fc97741c26cbd4c51d8927bdd1ca579d82 (patch) | |
tree | 12b1f7592291ea669d4b7f20b7f2787bcdcf6f5e /main.py | |
parent | d559f14563b4dca8dbb213307a9f4710ef6d9c98 (diff) |
Fixed invalid unpacking
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ def preprocess(data): input_lengths = [] target_lengths = [] - for wav, sr, label in data: + for wav, sr, label, _, _, _ in data: if sr != 16000: resample = T.Resample(orig_freq=sr, new_freq=16000) wav = resample(wav) |