Coder Social home page Coder Social logo

How to train SEA model about autopst HOT 14 OPEN

auspicious3000 avatar auspicious3000 commented on July 18, 2024
How to train SEA model

from autopst.

Comments (14)

auspicious3000 avatar auspicious3000 commented on July 18, 2024 1

It is the one-hot speaker embedding.

from autopst.

auspicious3000 avatar auspicious3000 commented on July 18, 2024 1

Self-Expressing Autoencoders for Unsupervised Spoken Term Discovery

from autopst.

auspicious3000 avatar auspicious3000 commented on July 18, 2024

Do you mean SEA?

You refer to the SEA paper for training details.

from autopst.

cyxomo avatar cyxomo commented on July 18, 2024

I seem to have fallen into a mistake. Actually , in preparing data , the Encoder part of SEA model just be used. But I'm not sure that changing the speaker will make a difference.

from autopst.

cyxomo avatar cyxomo commented on July 18, 2024

Does it matter if I take my own data and extract the features from the SEA model of 82 speakers that you pre-trained

from autopst.

cyxomo avatar cyxomo commented on July 18, 2024

Do you mean SEA?

You refer to the SEA paper for training details.

Yeah, sorry for spelling mistake

from autopst.

auspicious3000 avatar auspicious3000 commented on July 18, 2024

The performance might degrade, but feel free to try.

from autopst.

cyxomo avatar cyxomo commented on July 18, 2024

The performance might degrade, but feel free to try.

So the right thing to do is to train an SEA model with my own data and then extract the features. Could the sea part training code be provided?

from autopst.

auspicious3000 avatar auspicious3000 commented on July 18, 2024

The majority of the code for SEA is here. You just need a data loader and an optimizer.

from autopst.

cyxomo avatar cyxomo commented on July 18, 2024

The majority of the code for SEA is here. You just need a data loader and an optimizer.

OK, do you use the loss function like
image

from autopst.

auspicious3000 avatar auspicious3000 commented on July 18, 2024

Yes

from autopst.

vasyarv avatar vasyarv commented on July 18, 2024

@auspicious3000 what is c_trg in model_sea.Generator.forward ? It is part of Decoder's LSTM, dimension is same as hparams.dim_spk which is 82, but still no idea how to get it ...

from autopst.

stalevna avatar stalevna commented on July 18, 2024

Do you mean SEA?

You refer to the SEA paper for training details.

Hi! Could you point me to the SEA paper? I want to make sure I am reading the right one

from autopst.

wang1612 avatar wang1612 commented on July 18, 2024

@auspicious3000
Could you check my codes of SEA training loss below:

mask_sp_real = ~sequence_mask(len_real, cep_real0.size(1))# cep_real0 is MFCC that do not cut by [:, 0:20]
mask = (~mask_sp_real).float()
self.P = self.P.train()
mel_outputs , mel_outputs_B= self.P(cep_real, spk_emb, mask)#mel_outputs_B is output of decoder with input of self Expressing autoencoded Z
loss_A = F.mse_loss(mel_outputs, cep_real0,reduction='mean')
loss_B = F.mse_loss(mel_outputs_B, cep_real0,reduction='mean')
p_loss = loss_A + loss_B

from autopst.

Related Issues (18)

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.