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

[feature] Drum Transcription: add num_threads and parallel_workers for madmom beat extraction #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gudgud96
Copy link

When running omnizart drum transcribe <audio file> on drum transcription benchmark datasets (e.g. IDMT), I frequently face the issue which the program hangs after printing "Extracting feature...".

A deeper dive points me towards the parallelism at MadmomBeatTracking.process might overload the CPU cores. Hence I might suggest to introduce the num_threads and parallel_workers optional parameters for users to choose whether to run this part with / without parallelism.

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

Successfully merging this pull request may close these issues.

1 participant