Skip to content

Inconsistent mask shape in forward_tts _forward_aligner and AlignmentNetwork docstrings #312

Discussion options

You must be logged in to vote

I wouldn't rely on docstrings in Coqui to be consistent, but PRs with fixes are always welcome! Inserting print("x_mask", x_mask.shape) after

o_en, x_mask, g, _ = self._forward_encoder(x, x_mask, g)
prints x_mask torch.Size([1, 1, 10]) when running tts --model_name "tts_models/en/ljspeech/fast_pitch" --text "hello world" (that's the inference function but it should be the same in forward).

Also, in the future please share code as text or link directly to the correct location (I've edited your question accordingly). Images make it difficult to locate the code and aren't accessible for people with visual impairm…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Prajwalbhandari869
Comment options

Answer selected by Prajwalbhandari869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants