Giter Club home page Giter Club logo

Comments (8)

xcmyz avatar xcmyz commented on August 17, 2024 2

Hi~

Alignment information was obtained using a tacorton2 or transformer model,
but it has been removed from git. Could you please tell me why?
As you know, alignment information is required to use a DB other than ljspeech.

I didn't spend time writing a note about how to extract alignment from Tacotron2, so I remove it from new commit.

from fastspeech.

c9412600 avatar c9412600 commented on August 17, 2024

@xcmyz 请问一下中文音频的alignment如何获取npy信息呢???请赐教

from fastspeech.

xcmyz avatar xcmyz commented on August 17, 2024

@xcmyz 请问一下中文音频的alignment如何获取npy信息呢???请赐教

通过强制对齐工具获取音频和音素的对齐。

from fastspeech.

c9412600 avatar c9412600 commented on August 17, 2024

@xcmyz 我这边已经对齐过了,通过kaldi,但是npy是怎么生成的,我看是用tensorflow版本的tacotron2生成的吗?是training_data里的吗?

from fastspeech.

xcmyz avatar xcmyz commented on August 17, 2024

@xcmyz 我这边已经对齐过了,通过kaldi,但是npy是怎么生成的,我看是用tensorflow版本的tacotron2生成的吗?是training_data里的吗?

我用nvidia版本的tacotron2或者每一个character对应的mel谱的帧。

from fastspeech.

c9412600 avatar c9412600 commented on August 17, 2024

嗯嗯,谢谢,请问这个npy是再tensorflow版本的tacotron2的training_data里吗?是audio 还是linear 还是mels里面,这个困惑我好久了,谢谢!!

from fastspeech.

xcmyz avatar xcmyz commented on August 17, 2024

嗯嗯,谢谢,请问这个npy是再tensorflow版本的tacotron2的training_data里吗?是audio 还是linear 还是mels里面,这个困惑我好久了,谢谢!!

我是通过tacotron2的模型中提取的,比方说:

  1. nvidia tacotron2的模型输入时character,输出是mel spectrogram;
  2. tacotron2中location sensitive attention会输出一个矩阵(shape:[length_mel, length_character])
  3. 上面这个矩阵包含了每个character和mel spectrogram的对齐(每一个character的attention到哪一个帧的mel spectrogram)

我这里的duration即为每个character对应的帧长度,比如[h, a, t]的duration就是[2, 3, 4]。(我用的是pytorch版本的nvidia tacotron2

from fastspeech.

c9412600 avatar c9412600 commented on August 17, 2024

好的好的,谢谢,不胜感激!

from fastspeech.

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.