Coder Social home page Coder Social logo

Comments (2)

Tomiinek avatar Tomiinek commented on May 28, 2024

Hello ๐Ÿ™‚

No problem!

First, set hyper-parameters in hparams.py ... you might be interested in data_path, voc_mode, bits and mu_law (but please go through issues in the original repository, there are some good hints and conversations about convergence etc.)

Then use the preprocess.py file. To run it, you need a directory with directories for each language, i.e. de, fr, ...

Each of these language-specific directories should contain two directories named wavs and gtas. The wavs directory should contain all the .wav files of the particular language in dataset. The gtas directory should contain ground-truth aligned spectrograms of the corresponding .wav files with the same filename, but .npy extension. These GTA spectrograms can be generated using the gta.py script in this repository.

Then run the preprocess.py where --data_root is the base directory containing language-specific directories, --inputs is a list of names of the language-specific directories, and --output is an output directory. The script will generate mel (GTA spectrograms in a way which is supported by the model) and quant (quantized audio files which are used as targets during training, so it is needed to re-generate files if you change the parameters mentioned above) directories and a metafile dataset.pkl in the output directory.

That is hopefully all ๐Ÿฅณ

(I do not remember details precisely, so I am sorry if something I said is not true ๐Ÿ˜„ )

from multilingual_text_to_speech.

sooftware avatar sooftware commented on May 28, 2024

Thank you for always giving me a good answer, Tomiinek!!

from multilingual_text_to_speech.

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.