-
Notifications
You must be signed in to change notification settings - Fork 738
[DOC] Add missing modules and minor fixes #1022
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
Conversation
|
Hi @krishnakalyan3! Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
docs/source/functional.rst
Outdated
| ~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| .. autofunction:: amplitude_to_DB | ||
| .. autofunction:: spectrogram |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these changes are accidentally introduced.
Could you put DB_to_amplitude next to amplitude_to_DB and put griffinlim next to spectrogram, so that (loosely) related functions are in nearby?
torchaudio/utils/sox_utils.py
Outdated
| 2: warnings | ||
| 3: details of processing | ||
| 4-6: increasing levels of debug messages | ||
| 1. failure messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I am missing something obvious here.
make html
Does not update the HTML from the python docstrings. Is there a special command to update docs from the docstrings.
I tried
- deleting build folder
- building this library from source
UILD_SOX=1 MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have shared a small video with this problem. https://drive.google.com/file/d/1nGQ7vDBwylhqhgVFdUj7uLbL0Sc4yK2T/view?usp=sharing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked at your issue. I tried it on my end and things worked fine. Maybe it's about the browser cache?
If you still have the problem, you can apply the following patch and move on. (Note that there must be one blank line before the start of the list.
diff --git a/torchaudio/utils/sox_utils.py b/torchaudio/utils/sox_utils.py
index 076e266..3f9ad0b 100644
--- a/torchaudio/utils/sox_utils.py
+++ b/torchaudio/utils/sox_utils.py
@@ -26,10 +26,11 @@ def set_verbosity(verbosity: int):
Args:
verbosity (int): Set verbosity level of libsox.
- 1. failure messages
- 2. warnings
- 3. details of processing
- 4-6. increasing levels of debug messages
+
+ * ``1`` failure messages
+ * ``2`` warnings
+ * ``3`` details of processing
+ * ``4``-``6`` increasing levels of debug messages
See Also:
http://sox.sourceforge.net/sox.html|
@mthrok will do. I am unable to get the changes in the docs. |
|
Which part do you mean? Let me know so that I can help you.
|
Hello @mthrok, |
Sorry for getting back to you late. Yes, we can continue this in another PR. Since this PR contains improvement, I will go ahead and merge it. Thanks for the contribution! One thing I notice about the current state is that |
|
@mthrok many thanks :) |





Fixes for #1002