"docs/en/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "22fadceecd525942f4ae0cbfac97d14bc6858b11"
Unverified Commit 34696b14 authored by Krishna Kalyan's avatar Krishna Kalyan Committed by GitHub
Browse files

Argument in griffinlim is not used (#1036)


Co-authored-by: default avatarkrishnakalyan3 <skalyan@cloudera.com>
parent b5c16d33
...@@ -139,6 +139,12 @@ def griffinlim( ...@@ -139,6 +139,12 @@ def griffinlim(
assert momentum < 1, 'momentum={} > 1 can be unstable'.format(momentum) assert momentum < 1, 'momentum={} > 1 can be unstable'.format(momentum)
assert momentum >= 0, 'momentum={} < 0'.format(momentum) assert momentum >= 0, 'momentum={} < 0'.format(momentum)
if normalized:
warnings.warn(
"The argument normalized is not used in Griffin-Lim, "
"and will be removed in v0.9.0 release. To suppress this warning, "
"please use `normalized=False`.")
# pack batch # pack batch
shape = specgram.size() shape = specgram.size()
specgram = specgram.reshape([-1] + list(shape[-2:])) specgram = specgram.reshape([-1] + list(shape[-2:]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment