diff --git a/torchaudio/functional/functional.py b/torchaudio/functional/functional.py index 74271798eb..200dcbfd1f 100644 --- a/torchaudio/functional/functional.py +++ b/torchaudio/functional/functional.py @@ -1313,7 +1313,7 @@ def _get_sinc_resample_kernel( warnings.warn( "Non-integer frequencies are being cast to ints and may result in poor resampling quality " "because the underlying algorithm requires an integer ratio between `orig_freq` and `new_freq`. " - "Using non-integer valued frequencies will throw an error in the next release. " + "Using non-integer valued frequencies will throw an error in release 0.10. " "To work around this issue, manually convert both frequencies to integer values " "that maintain their resampling rate ratio before passing them into the function " "Example: To downsample a 44100 hz waveform by a factor of 8, use " diff --git a/torchaudio/transforms.py b/torchaudio/transforms.py index 49d3ff599b..335b74c440 100644 --- a/torchaudio/transforms.py +++ b/torchaudio/transforms.py @@ -286,7 +286,7 @@ def __init__(self, if n_stft is None or n_stft == 0: warnings.warn( 'Initialization of torchaudio.transforms.MelScale with an unset weight ' - '`n_stft=None` is deprecated and will be removed from a future release. ' + '`n_stft=None` is deprecated and will be removed in release 0.10. ' 'Please set a proper `n_stft` value. Typically this is `n_fft // 2 + 1`. ' 'Refer to https://github.com/pytorch/audio/issues/1510 ' 'for more details.'