GithubHelp home page GithubHelp logo

Comments (2)

MahmoudAshraf97 avatar MahmoudAshraf97 commented on August 11, 2024

Hi, can you try to use the notebook provided and see what line causes that error?

from whisper-diarization.

lamiranda-br avatar lamiranda-br commented on August 11, 2024

Sure, error started on line 123 ˜msdd_model.diarize()˜.

I believe it was some dependency problem caused by installing all the requirements at once.
When I install line by line following the proposed sequence on requirements.txt, it works without errors.

Thank you!

Traceback (most recent call last) ──────────────────────╮
│ /content/drive/MyDrive/Colab Notebooks/whisper-diarization/diarize.py:123 in │

│ 121 # Initialize NeMo MSDD diarization model
│ 122 msdd_model = NeuralDiarizer(cfg=create_config())
│ ❱ 123 msdd_model.diarize()
│ 124
│ 125 del msdd_model
│ 126 torch.cuda.empty_cache()

│ /usr/local/lib/python3.9/dist-packages/nemo/collections/asr/models/msdd_mode
│ ls.py:1170 in diarize

│ 1167 │ │ function that can generate overlapping timestamps. `self.run_
│ 1168 │ │ """
│ 1169 │ │ torch.set_grad_enabled(False)
│ ❱ 1170 │ │ self.clustering_embedding.prepare_cluster_embs_infer()
│ 1171 │ │ self.msdd_model.pairwise_infer = True
│ 1172 │ │ self.get_emb_clus_infer(self.clustering_embedding)
│ 1173 │ │ preds_list, targets_list, signal_lengths_list = self.run_pair

[...]

│ /usr/local/lib/python3.9/dist-packages/nemo/collections/asr/parts/utils/offl │
│ ine_clustering.py:546 in eigValueSh │
│ │
│ 543 │ │ laplacian = laplacian.float().to(device) │
│ 544 │ else: │
│ 545 │ │ laplacian = laplacian.float() │
│ ❱ 546 │ lambdas = eigvalsh(laplacian) │
│ 547 │ return lambdas │
│ 548 │
│ 549 │
╰──────────────────────────────────────────────────────────────────────────────╯
_LinAlgError: linalg.eigh: The algorithm failed to converge because the input
matrix is ill-conditioned or has too many repeated eigenvalues (error code:
842).

from whisper-diarization.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.