-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
remove duplicate definition of manifest read and write func. #6088
Conversation
a80fd22
to
593fe5e
Compare
scripts/dataset_processing/tts/audio_processing/preprocess_audio.py
Outdated
Show resolved
Hide resolved
Maybe this could be moved outside of ASR collection then? Somewhere like |
593fe5e
to
95af109
Compare
Can't agree more! Maybe we just hold off now until the next massive refactoring. @titu1994 |
95af109
to
4bacce4
Compare
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.
Very neat, thanks ! Can you make the minor modification to accepting both path and str to simplify the call to these functions and then merge ?
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.
Thanks for this cleanup :) Will wait for CodeQL fixes before approving.
4bacce4
to
033d998
Compare
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.
Notebooks need to be reverted and updated in colab env, then download the colab one. Simpler to just remove them for now since there's no need to unify notebook manifest reading and writing
tutorials/asr/Buffered_Transducer_Inference_with_LCS_Merge.ipynb
Outdated
Show resolved
Hide resolved
Signed-off-by: Xuesong Yang <[email protected]>
Signed-off-by: Xuesong Yang <[email protected]>
Signed-off-by: Xuesong Yang <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Xuesong Yang <[email protected]>
This reverts commit 033d998. Signed-off-by: Xuesong Yang <[email protected]>
df1899b
to
233322c
Compare
Signed-off-by: Xuesong Yang <[email protected]>
233322c
to
8a2c9d2
Compare
reverted notebook and updated functions.
…6088) * unify duplicate definitions of manifest read and write func. * extend support of both Path and str. * update ones in tutorials. --------- Signed-off-by: Xuesong Yang <[email protected]>
…6088) * unify duplicate definitions of manifest read and write func. * extend support of both Path and str. * update ones in tutorials. --------- Signed-off-by: Xuesong Yang <[email protected]> Signed-off-by: hsiehjackson <[email protected]>
What does this PR do ?
remove duplicate definitions of read and write manifest files, and re-use ones defined in
nemo.collections.asr.parts.utils.manifest_utils
Collection: [Note which collection this PR will affect]
Changelog
Usage
# Add a code snippet demonstrating how to use this
Before your PR is "Ready for review"
Pre checks:
PR Type:
If you haven't finished some of the above items you can still open "Draft" PR.
Who can review?
Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.
Additional Information