From 23e44830699b0599f850e0905fe6d29349f92f2a Mon Sep 17 00:00:00 2001 From: lispc Date: Fri, 8 Dec 2017 20:20:39 +0800 Subject: [PATCH] fix a comment in audio_featurizer.py --- data_utils/featurizer/audio_featurizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_utils/featurizer/audio_featurizer.py b/data_utils/featurizer/audio_featurizer.py index f594de7d..0a54701b 100644 --- a/data_utils/featurizer/audio_featurizer.py +++ b/data_utils/featurizer/audio_featurizer.py @@ -112,7 +112,7 @@ class AudioFeaturizer(object): if max_freq is None: max_freq = sample_rate / 2 if max_freq > sample_rate / 2: - raise ValueError("max_freq must be greater than half of " + raise ValueError("max_freq must not be greater than half of " "sample rate.") if stride_ms > window_ms: raise ValueError("Stride size must not be greater than " -- GitLab