Skip to content
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

Rhubarb report errors when executing parallel. #152

Open
chenmosha opened this issue Jul 24, 2024 · 1 comment
Open

Rhubarb report errors when executing parallel. #152

chenmosha opened this issue Jul 24, 2024 · 1 comment

Comments

@chenmosha
Copy link

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.

@DanielSWolf
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants