marinone94
commited on
Commit
·
9a45fab
1
Parent(s):
674aa77
fix bug in split
Browse files
run_speech_recognition_ctc.py
CHANGED
@@ -540,6 +540,7 @@ def main():
|
|
540 |
)
|
541 |
except ValueError:
|
542 |
split_dataset = raw_datasets["train"].train_test_split(test_size=0.1, seed=42)
|
|
|
543 |
raw_datasets["eval"] = split_dataset["test"]
|
544 |
print(raw_datasets["eval"])
|
545 |
print("Sampled from training set")
|
|
|
540 |
)
|
541 |
except ValueError:
|
542 |
split_dataset = raw_datasets["train"].train_test_split(test_size=0.1, seed=42)
|
543 |
+
raw_datasets["train"] = split_dataset["train"]
|
544 |
raw_datasets["eval"] = split_dataset["test"]
|
545 |
print(raw_datasets["eval"])
|
546 |
print("Sampled from training set")
|