Coder Social home page Coder Social logo

Comments (15)

jxzhanggg avatar jxzhanggg commented on June 18, 2024

Hi,
I listened to your reuslts, it seemed not good. The decoder alignment actually haven't converge sucessfully. Therefore, the model couldn't generate intelligible voice. I suppose the mean standard
normalization is an important step to facilitate the converenge of the model. Therefore, it's advisable
to add this. Alignment converges after first training of 3k steps in my experiment for you reference.
There's some of my samples at inference stage.
samples.zip

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

Hi, I used a model at step 59000, and the VC total loss reduced to around 1.2, but all inference samples results in almost null. They looked like this:
68FA419F-F48B-4542-B420-FBC9CE49E1EC
My question is how many steps does it need to train a model, and what should the loss level be like?

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

I get almost the same results as yours @JRMeyer , have you solved the problem?

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

My test results:
test_samples.zip

from nonparaseq2seqvc_code.

jxzhanggg avatar jxzhanggg commented on June 18, 2024

I recommend you to filter out some long sentences in your training dataset and try suggestion from here

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

In the pre-train folder, I use a decay rate 0.95 at each epoch and abandon training samples whose frame length is longer than 800. The inferred results begin to make sense but sound unreasonable.
samples_55000_loss0.94.zip
What may the problem be?

from nonparaseq2seqvc_code.

jxzhanggg avatar jxzhanggg commented on June 18, 2024

Hi, the alignment didn't converge. Therefore, it's unable to generated meanful sounds. It's strange, have you trained the model with enough large training set ? The batch size also should be large enough (better >= 32) to help alignment converge. Could you provide more details about your training?

In the pre-train folder, I use a decay rate 0.95 at each epoch and abandon training samples whose frame length is longer than 800. The inferred results begin to make sense but sound unreasonable.
samples_55000_loss0.94.zip

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

Hi, in the feature extraction process, I trimmed silence using librosa.trim and I used 80 dimensional mel-spec as used in hparams.py.
The text look like this:
image
But the mean and standard variance are calculated using a running method. So mean and variance are global.
image
The mean and variance look like this:
image

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

In pre-train/model/layers.py, line 353-354, I change the code to
self.initialize_decoder_states(memory,
mask=(1-get_mask_from_lengths(memory_lengths)))
Becase I found ~ is a bit-wise reverse, ~1 will get 254.

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

I can't get any possible difference from the source code. So would you please send me a copy of your training text and phn files. @jxzhanggg

from nonparaseq2seqvc_code.

jxzhanggg avatar jxzhanggg commented on June 18, 2024

In pre-train/model/layers.py, line 353-354, I change the code to
self.initialize_decoder_states(memory,
mask=(1-get_mask_from_lengths(memory_lengths)))
Becase I found ~ is a bit-wise reverse, ~1 will get 254.

I tested code in python 3.5 and torch 1.4, that's true.
It's strange bug because ~1 will get correct 0 when using python 2.7 torch 1.01
I'm not sure it's caused by python version or torch version ? How about your experiment environment? A bug like this wrong mask will definitely make model be out of order.
So I suspect there's some unrecognized bugs likes this cause the failure of experiments.
About training lists, I'm glad to provide. But I can't access to these files these days (I'm not in University now). And I believe it's not phn's faults.

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

I conducted the experiment under ubuntu16.04, using pytorch1.3.1 and python3.7.
For a boolean type variable, ~True gets False and ~False gets True.
I will debug
Please send me a copy of text and phn files. [email protected] and [email protected] both are ok. Thank you.

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

after modifying the bit-wise reverse ~, the model begin to converge to reasonable speech.
One problem is the inferred result doesn't keep the speaking style from the speaker embeddings, which means the style is not well disentangled. I will try to do some experiment to disentangle the style and content based on your work. Thank you very much for your patient replies.

from nonparaseq2seqvc_code.

jxzhanggg avatar jxzhanggg commented on June 18, 2024

after modifying the bit-wise reverse ~, the model begin to converge to reasonable speech.
One problem is the inferred result doesn't keep the speaking style from the speaker embeddings, which means the style is not well disentangled. I will try to do some experiment to disentangle the style and content based on your work. Thank you very much for your patient replies.

Hi, I'm glad that you got it worked.

from nonparaseq2seqvc_code.

youngsuenXMLY avatar youngsuenXMLY commented on June 18, 2024

Have you tried VAE loss to further disentangle content embedding from speaker embedding?

from nonparaseq2seqvc_code.

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.