From e026bb773b6aaa07406a9e82b57bdbff301e77b7 Mon Sep 17 00:00:00 2001 From: Francis Tyers Date: Thu, 13 May 2021 16:12:52 +0100 Subject: [PATCH] Update augmentations.py Looks like `clock_to` got changed to `final_clock` but this one was missed. --- training/deepspeech_training/util/augmentations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training/deepspeech_training/util/augmentations.py b/training/deepspeech_training/util/augmentations.py index d6780ed1b1..be88c05bde 100644 --- a/training/deepspeech_training/util/augmentations.py +++ b/training/deepspeech_training/util/augmentations.py @@ -191,7 +191,7 @@ def apply_sample_augmentations(samples, process_ahead : int Number of samples to pre-process ahead of time. clock : float - Start or fixed clock value between 0.0 and 1.0 for the first or all samples. Has to be <= than clock_to. + Start or fixed clock value between 0.0 and 1.0 for the first or all samples. Has to be <= than final_clock. final_clock : float Final clock value between 0.0 and 1.0 for the last sample. Has to be >= than clock. Requires samples.__len__ attribute.