-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docstring of sliding_window_cmn
#1380
Comments
Hi @jackyguo624 Thanks for the report. I think you are right about it and we should fix it. |
sliding_window_cmn
CC @jcaw Sorry we missed it in the review process. |
@jackyguo624 audio/torchaudio/functional/functional.py Line 1022 in ea85794
This line handle when input is a 2-dimensional matrix. |
Well, the batch/channel dimension is fine. I think the issue is about the order of the last two dimensions. The expected order is |
Oh, I see it, nevermind.😅 |
Spectrograms returned by torchaudio do have the order |
This is the inconsistent design principles between the libraries |
Hello, can I work on this and fix this issue? |
Thanks. The docstring itself has changed. I'll think of what we can do about the inconsistent design. There are bunch of inconsistent interface design around Kaldi-originated functions. |
and if you have any suggestion, we are happy to hear. |
* add tensorboard_profiler tutorial * Update intermediate_source/tensorboard_profiler_tutorial.py Co-authored-by: maxluk <maxluk@microsoft.com> * update title * remove testing on windows because kineto doesn't support windows now * rename * Update with the help of Ilia Co-authored-by: Teng Gao <tegao@microsoft.com> Co-authored-by: maxluk <maxluk@microsoft.com>
audio/torchaudio/functional/functional.py
Line 947 in ea85794
the input
specgram
shoud be in shape ( ..., time, freq), instead of(..., freq, time)
as doc says.Right?
The text was updated successfully, but these errors were encountered: