Giter VIP home page Giter VIP logo

Comments (1)

152334H avatar 152334H commented on September 22, 2024

hi, you are talking about the text_cleaners that are used in paired_voice_audio_dataset.py, right?

# https://github.com/152334H/DL-Art-School/blob/master/codes/data/audio/paired_voice_audio_dataset.py#L157
        self.text_cleaners = hparams.text_cleaners

(note that, although the CharacterTokenizer is hard-coded to use "english_cleaners", the GPT model does not use a CharacterTokenizer -- it uses BPE.)

I am not sure whether this will work, but have you tried adding a text_cleaners parameter to the val/train dataset configs? e.g.

train:
  text_cleaners: ["basic_cleaners"]

The default cleaners are defined in the tacotron2 folder. They comment:

Cleaners are transformations that run over the input text at both training and eval time.

Cleaners can be selected by passing a comma-delimited list of cleaner names as the "cleaners" hyperparameter. Some cleaners are English-specific. You'll typically want to use:

  1. "english_cleaners" for English text
  2. "transliteration_cleaners" for non-English text that can be transliterated to ASCII using the Unidecode library (https://pypi.python.org/pypi/Unidecode)
  3. "basic_cleaners" if you do not want to transliterate (in this case, you should also update the symbols in symbols.py to match your data).

If that advice is not helpful, then I must apologise, because I have little-to-no experience with working with other languages in TTS. I assume @athu16 did not do anything complicated to improve his setup, either.

from dl-art-school.

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.