Open pigalot opened 1 year ago
Hi, I’ve been running into this as well lately and have been unable to reproduce this reliably or find out the root cause. Seems this is a bug with the underlying TTS engine (https://github.com/coqui-ai/TTS/discussions/2516). I’ll release an update with a workaround that will catch the exception and synthesize the item again shortly for now.
Also, thanks :) let me now in case you have any ideas for further improvements, as this mostly grew around my personal needs (reading out ebooks and websites/blogs). Though I guess more examples and documentation would be a good start...
Managed to get everything running from code and its been running for a few hours with no errors so looking good.
Using some fairly simple code to try out making a basic audio book from a epub.
writer.synthesize_and_write works but will randomly error with Synthesizing project .... failed: Error synthesizing ...: Dimension out of range (expected to be in range of [-2, 1], but got 2)".
Not found any common issue with what its trying to synthesize at the time, I have not see it happen on the same item more than once and I have seen it happen on multiple epubs.
Any idea what this might be? Is there a good way to force a retry or something?
On a side note this is such a cool project would be huge to be able to get epubs read out.