Skip to content
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 #2566

Merged
merged 3 commits into from
Jul 28, 2021
Merged

fix #2566

merged 3 commits into from
Jul 28, 2021

Conversation

nithinraok
Copy link
Collaborator

Signed-off-by: nithinraok [email protected]

  • fix estimation of num of speakers when embs size < 6
  • fix torch linalg import error when version <1.9

Signed-off-by: nithinraok <[email protected]>
Copy link
Collaborator

@tango4j tango4j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than doc string for COSclustering(), it looks good to me.

Signed-off-by: nithinraok <[email protected]>
tango4j
tango4j previously approved these changes Jul 28, 2021
Copy link
Collaborator

@tango4j tango4j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve the changes made.

Signed-off-by: nithinraok <[email protected]>
titu1994
titu1994 previously approved these changes Jul 28, 2021
Copy link
Collaborator

@titu1994 titu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor style fixes

laplacian_torch = torch.from_numpy(Laplacian).float().to(device)
if TORCH_EIGN:
if cuda:
if device == None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If device is None instead of == None

if cuda:
if device == None:
device = torch.cuda.current_device()
Laplacian = torch.from_numpy(Laplacian).float().to(device)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why capital Laplacian for a variable ? Lower case please

@nithinraok nithinraok dismissed stale reviews from titu1994 and tango4j via c005c67 July 28, 2021 18:55
Copy link
Collaborator

@titu1994 titu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merge when ready

@lgtm-com
Copy link

lgtm-com bot commented Jul 28, 2021

This pull request fixes 1 alert when merging c005c67 into 7f7a499 - view on LGTM.com

fixed alerts:

  • 1 for Testing equality to None

@@ -120,7 +130,7 @@ def getCosAffinityMatrix(emb):

def getLaplacian(X):
"""
Calculates a Laplacian matrix from an affinity matrix X.
Calculates a laplacian matrix from an affinity matrix X.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This better to be Laplacian while other variables are "laplacian"

@nithinraok nithinraok merged commit bfa6259 into r1.2.0 Jul 28, 2021
@nithinraok nithinraok deleted the handle_small_emb_sizes branch July 28, 2021 19:50
ericharper pushed a commit that referenced this pull request Jul 30, 2021
* fix

Signed-off-by: nithinraok <[email protected]>

* doc add

Signed-off-by: nithinraok <[email protected]>

* style fix

Signed-off-by: nithinraok <[email protected]>
ericharper added a commit that referenced this pull request Jul 30, 2021
* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update BRANCH

Signed-off-by: ericharper <[email protected]>

* Fix onnx for ASR notebook (#2542)

* Update onnx version

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix typos and MeCab import (#2541)

Signed-off-by: MaximumEntropy <[email protected]>

* Fix branch for ASR notebooks (#2549)

Signed-off-by: smajumdar <[email protected]>

* rmtok (#2559)

Signed-off-by: Abhinav Khattar <[email protected]>

* Add xxhash dependency (#2564)

Signed-off-by: MaximumEntropy <[email protected]>

* fix (#2566)

* fix

Signed-off-by: nithinraok <[email protected]>

* doc add

Signed-off-by: nithinraok <[email protected]>

* style fix

Signed-off-by: nithinraok <[email protected]>

* Fix moses path issue (#2573)

Signed-off-by: MaximumEntropy <[email protected]>

* More moses data path fixes (#2575)

Signed-off-by: MaximumEntropy <[email protected]>

* Path fixes (#2580)

Signed-off-by: MaximumEntropy <[email protected]>

* Upper bound transformers for 1.2 (#2584)

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

Co-authored-by: Somshubra Majumdar <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Co-authored-by: Abhinav Khattar <[email protected]>
Co-authored-by: Nithin Rao <[email protected]>
blisc pushed a commit to blisc/NeMo that referenced this pull request Aug 12, 2021
* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update BRANCH

Signed-off-by: ericharper <[email protected]>

* Fix onnx for ASR notebook (NVIDIA#2542)

* Update onnx version

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix typos and MeCab import (NVIDIA#2541)

Signed-off-by: MaximumEntropy <[email protected]>

* Fix branch for ASR notebooks (NVIDIA#2549)

Signed-off-by: smajumdar <[email protected]>

* rmtok (NVIDIA#2559)

Signed-off-by: Abhinav Khattar <[email protected]>

* Add xxhash dependency (NVIDIA#2564)

Signed-off-by: MaximumEntropy <[email protected]>

* fix (NVIDIA#2566)

* fix

Signed-off-by: nithinraok <[email protected]>

* doc add

Signed-off-by: nithinraok <[email protected]>

* style fix

Signed-off-by: nithinraok <[email protected]>

* Fix moses path issue (NVIDIA#2573)

Signed-off-by: MaximumEntropy <[email protected]>

* More moses data path fixes (NVIDIA#2575)

Signed-off-by: MaximumEntropy <[email protected]>

* Path fixes (NVIDIA#2580)

Signed-off-by: MaximumEntropy <[email protected]>

* Upper bound transformers for 1.2 (NVIDIA#2584)

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

Co-authored-by: Somshubra Majumdar <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Co-authored-by: Abhinav Khattar <[email protected]>
Co-authored-by: Nithin Rao <[email protected]>
Signed-off-by: Jason <[email protected]>
paarthneekhara pushed a commit to paarthneekhara/NeMo that referenced this pull request Sep 17, 2021
* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update BRANCH

Signed-off-by: ericharper <[email protected]>

* Fix onnx for ASR notebook (NVIDIA#2542)

* Update onnx version

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix typos and MeCab import (NVIDIA#2541)

Signed-off-by: MaximumEntropy <[email protected]>

* Fix branch for ASR notebooks (NVIDIA#2549)

Signed-off-by: smajumdar <[email protected]>

* rmtok (NVIDIA#2559)

Signed-off-by: Abhinav Khattar <[email protected]>

* Add xxhash dependency (NVIDIA#2564)

Signed-off-by: MaximumEntropy <[email protected]>

* fix (NVIDIA#2566)

* fix

Signed-off-by: nithinraok <[email protected]>

* doc add

Signed-off-by: nithinraok <[email protected]>

* style fix

Signed-off-by: nithinraok <[email protected]>

* Fix moses path issue (NVIDIA#2573)

Signed-off-by: MaximumEntropy <[email protected]>

* More moses data path fixes (NVIDIA#2575)

Signed-off-by: MaximumEntropy <[email protected]>

* Path fixes (NVIDIA#2580)

Signed-off-by: MaximumEntropy <[email protected]>

* Upper bound transformers for 1.2 (NVIDIA#2584)

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

Co-authored-by: Somshubra Majumdar <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Co-authored-by: Abhinav Khattar <[email protected]>
Co-authored-by: Nithin Rao <[email protected]>
Signed-off-by: Paarth Neekhara <[email protected]>
jfsantos pushed a commit to jfsantos/NeMo that referenced this pull request Nov 19, 2021
* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update BRANCH

Signed-off-by: ericharper <[email protected]>

* Fix onnx for ASR notebook (NVIDIA#2542)

* Update onnx version

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix onnx

Signed-off-by: smajumdar <[email protected]>

* Fix typos and MeCab import (NVIDIA#2541)

Signed-off-by: MaximumEntropy <[email protected]>

* Fix branch for ASR notebooks (NVIDIA#2549)

Signed-off-by: smajumdar <[email protected]>

* rmtok (NVIDIA#2559)

Signed-off-by: Abhinav Khattar <[email protected]>

* Add xxhash dependency (NVIDIA#2564)

Signed-off-by: MaximumEntropy <[email protected]>

* fix (NVIDIA#2566)

* fix

Signed-off-by: nithinraok <[email protected]>

* doc add

Signed-off-by: nithinraok <[email protected]>

* style fix

Signed-off-by: nithinraok <[email protected]>

* Fix moses path issue (NVIDIA#2573)

Signed-off-by: MaximumEntropy <[email protected]>

* More moses data path fixes (NVIDIA#2575)

Signed-off-by: MaximumEntropy <[email protected]>

* Path fixes (NVIDIA#2580)

Signed-off-by: MaximumEntropy <[email protected]>

* Upper bound transformers for 1.2 (NVIDIA#2584)

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* upper bound transformers and name change jarvis to riva

Signed-off-by: ericharper <[email protected]>

* update jenkinsfile

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

* update notebooks branch

Signed-off-by: ericharper <[email protected]>

Co-authored-by: Somshubra Majumdar <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Co-authored-by: Abhinav Khattar <[email protected]>
Co-authored-by: Nithin Rao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants