-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[collections] bugfix for capturing NotImplementedError of non-supported sup data types. #4297
Conversation
This pull request introduces 1 alert when merging 8f80086 into f9d45db - view on LGTM.com new alerts:
|
8f80086
to
388bcb2
Compare
This pull request introduces 1 alert when merging 388bcb2 into f9d45db - view on LGTM.com new alerts:
|
68eedbd
to
e0b29cd
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.
LGTM
e0b29cd
to
169c624
Compare
169c624
to
97a19c8
Compare
…lementary data types. Signed-off-by: Xuesong Yang <xuesongyxs@gmail.com>
97a19c8
to
60921ac
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.
Looks correct to me.
…lementary data types. (NVIDIA#4297) Signed-off-by: Xuesong Yang <xuesongyxs@gmail.com> Co-authored-by: Somshubra Majumdar <titu1994@gmail.com> Signed-off-by: Georg Kucsko <gkucsko@gmail.com>
What does this PR do ?
Fixed the bug that does not correctly capture NotImplementedError of non-supported supplementary data types. Original implementation as shown in https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/tts/torch/data.py#L262-L263 will not raise any exception ever because the
data_type
has already been validated by looking it up inDATA_STR2DATA_CLASS
in line 257.Collection: [Note which collection this PR will affect]
nemo/collections/tts/torch/data.py
Changelog
Usage
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