Odd result from current version of the model
See original GitHub issueHey, I’m not sure this is the best place to report this or if it’s a bug with the docker version or upstream models but figured I’d ask you.
I have a pretty simple input:
Some important terms you should know.
Which generates a very strange result of the sentence, followed by the last word repeated endlessly until it runs out of processing time.
I ran a couple tests: with the latest available container (7118de96680b
) and one from 2 days ago (ae5bf234ed9b
) that both generate this result:
$ curl --silent -G --output - --data-urlencode 'text=Some important terms you should know.' 'http://localhost:5002/api/tts' > out
$ ffprobe -show_streams out 2>&1 | grep duration
duration_ts=754944
duration=34.237823
the server logs an unexpectedly high runtime.
[INFO] Synthesizing (37 char(s))...
[INFO] initializing backend espeak-1.48.03
> Run-time: 9.952790260314941
> Real-time factor: 0.2906955861025097
> Time per step: 1.3183479293013637e-05
However an old version of the container I happened to have (483c72abc233
), ~5 months old, it works as expected.
curl --silent -G --output - --data-urlencode 'text=Some important terms you should know.' 'http://localhost:5004/api/tts' > out
$ ffprobe -show_streams out 2>&1 | grep duration
duration_ts=49920
duration=2.263946
Any ideas what could be causing this? Removing the .
from the end of the sentence seems to cause it work properly. Adding a .
to the end likewise returns a short time.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
honestly no, it was so easy to add support for this as a backend.
An AWS polly compatible API would’ve made it easier, but, after 10 minutes of work to add a
--backend [aws|mozilla]
flag, it wasn’t necessary, so, I’m pretty sure it would not be worth the implementation effort.I’m honored to be able to contribute to your project 😃
Is there anything I could add to the container to help more?