Git Product home page Git Product logo

Comments (4)

MarvinLvn avatar MarvinLvn commented on August 19, 2024

The error probably comes from the Task specification.
In the config.yml, could you try replacing :

task:
  params:
    alpha: 0
    duration: 2.0
    domain: domain
    batch_size: 64
    attachment: 0
    per_epoch: 1
    domain_loss: MSELoss
    rnn:
      unit: LSTM
      hidden_size: 128
      num_layers: 1
      bidirectional: False
      pool: max
    labels_spec:
      regular: ['KCHI', 'CHI', 'MAL', 'FEM']
      union:
        SPEECH: ['KCHI', 'CHI', 'FEM', 'MAL', 'SPEECH']
  name: DomainAdversarialMultilabelDetection

by

task:
  params:
    duration: 2.0
    batch_size: 64
    per_epoch: 1
    labels_spec:
      regular: ['KCHI', 'CHI', 'MAL', 'FEM']
      union:
        SPEECH: ['KCHI', 'CHI', 'FEM', 'MAL', 'SPEECH']
  name: MultilabelDetection

It should solve the issue !
Let me know if it works please :)

PS : For more information, pyannote is expecting a domain key to train the model adversarially w.r.t the domain information such as in here. The weight associated to the domain loss being 0 in this case, it is strictly equivalent than not considering at all this domain adversarial loss.

from voice-type-classifier.

MarvinLvn avatar MarvinLvn commented on August 19, 2024

I've decided to update the config.yml in the repo directly to make the model retrainable more easily.
I'm waiting for your feedback before closing the issue :)

from voice-type-classifier.

leebean337 avatar leebean337 commented on August 19, 2024

This worked, thank you! Actually it resolved the first issue and then I experienced RuntimeError: CUDA out of memory errors. By changing the Batch Size=32, this resolve and it seems to be retaining now.

from voice-type-classifier.

leebean337 avatar leebean337 commented on August 19, 2024

Training completed successfully (we think). However, I cannot run the validate step - will open a new issue.

from voice-type-classifier.

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.