rhubarb-lip-sync icon indicating copy to clipboard operation
rhubarb-lip-sync copied to clipboard

Rhubarb report errors when executing parallel.

Open chenmosha opened this issue 1 year ago • 1 comments

Hi, there:

When I execute rhubarb parallel, it would report errors with a certain probability.

The detailed error is as follows: Generating lip sync data for audios/1.wav.\nProgress: [--------------------] 0% |\b/\b\b\b\b2% -\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b#-------------------] 5% \\b\b\b\b6% |\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b#------------------] 11% /\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b##----------------] 22% \\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b###-------------] 36% \b\n[Fatal] Application terminating with error: Error processing file audios/1.wav.\nError performing speech recognition via PocketSphinx tools.\nbasic_ios::clear: iostream error\nProgress (cont'd): [#######-------------] 36%

Any ideas? My ECS server is 2G memory, 2 CPU.

chenmosha avatar Jul 24 '24 03:07 chenmosha

My best guess is that the processes try to access the same stream simultaneously. However, based on the error message, the error occurs during speech recognition. And this code shouldn't do anything stream-related except read a few resource files, which should work in parallel.

DanielSWolf avatar Dec 27 '24 20:12 DanielSWolf