New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning! Reached max decoder steps #174
Comments
Take a look at the gate outputs and decrease the gate threshold accordingly. |
@rafaelvalle |
The spectrogram is different with the same text because of the dropout on the Prenet layer: https://github.com/NVIDIA/tacotron2/blob/master/model.py#L100 The gate threshold is what controls when the model should stop decoding. You can decrease the value to prevent such issues. |
Soo, I get this error with pretrained tacatron and default code from repo, don't you want investigate? |
What sentence did you use? |
Seems it happens sometimes if I have whitespace at the end, like: |
I too think this issue may have been closed out too early. I sometimes see this error. Seems to happen with shorter sentences. I think I found a valid input for which it always happens; try "%1" as the only input. i.e. try and let it speak "%1". Make sure %1 is not interpreted as some variable or something. The sound should be (incorrectly) "one" and then 11-40 seconds of random "singing" noise (and the decoder steps error will show). This happens with pre-trained model. Reducing gate threshold does not help. Increasing decoder steps sometimes works (but not for this example). It is also starting to look somewhat sporadic/case based. |
I tested/confirmed that removing the change in fc0d34c makes no difference; the error still happens. |
I am having the same issue. |
The model is very sensitive to punctuation. |
Hi there @shoegazerstella just want to ask, have you solve the decoder issue ? What would be the best solution ? |
@haqkiemdaim |
Haven't yet. But my dataset does not contain any punctuation. |
You can add to every sentence of your dataset a token that signifies EOS (End of Sentence). |
ouhh i see. Is it crucial? because in plain tacotron, i used the same data/corpus without punctuation and it went well. But not in Tacotron2. Any reason for that ? |
Tacotron 1 has the EOS token :-)
…On Sat, Nov 2, 2019, 5:20 PM HaqkiemDaim ***@***.***> wrote:
You can add to every sentence of your dataset a token that signifies EOS
(End of Sentence).
ouhh i see. Is it crucial? because in plain tacotron, i used the same
data/corpus without punctuation and it went well. But not in Tacotron2. Any
reason for that ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#174?email_source=notifications&email_token=AARSFDYDX7VQJ5PTZVH6573QRYKK7A5CNFSM4HCLSMAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5H5LQ#issuecomment-549093038>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARSFD4YBD5BETQ6SRGWF6LQRYKK7ANCNFSM4HCLSMAA>
.
|
You can also try adjusting the gate threshold.
…On Sat, Nov 2, 2019, 5:20 PM HaqkiemDaim ***@***.***> wrote:
You can add to every sentence of your dataset a token that signifies EOS
(End of Sentence).
ouhh i see. Is it crucial? because in plain tacotron, i used the same
data/corpus without punctuation and it went well. But not in Tacotron2. Any
reason for that ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#174?email_source=notifications&email_token=AARSFDYDX7VQJ5PTZVH6573QRYKK7A5CNFSM4HCLSMAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5H5LQ#issuecomment-549093038>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARSFD4YBD5BETQ6SRGWF6LQRYKK7ANCNFSM4HCLSMAA>
.
|
@rafaelvalle This is what i have done so far:
But still reach max decoder steps at 4th epoch. Now i'm running again my dataset but with punctuation "." at end of sentence for every line. Will update here the outcomes. Regarding the gate threshold, currently it is 0.5. But im a bit confuse, why we need the gate threshold while we already set the max decoder steps to a certain value ? |
@haqkiemdaim Did adding punctuation fix the error? |
it worked for my case. thanks! |
@rafaelvalle |
How do you try except the message "Warning! Reached max decoder steps"? Which file creates it? |
the notebook link is not opening |
I had no such problem before
But today used pretrained models
And sometimes spectrogram is bugged
here is notebook for reproduce
https://colab.research.google.com/drive/1jR12cEKdkg0hlDUHGhf2fPb0RwqPwEYj?#scrollTo=CyBu2F7eisFM
The text was updated successfully, but these errors were encountered: