Skip to content

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

Open
gudgud96 wants to merge 1 commit intoMusic-and-Culture-Technology-Lab:masterfrom
gudgud96:feature/disable-madmom-parallelism
Open

[feature] Drum Transcription: add num_threads and parallel_workers for madmom beat extraction#111
gudgud96 wants to merge 1 commit intoMusic-and-Culture-Technology-Lab:masterfrom
gudgud96:feature/disable-madmom-parallelism

Conversation

@gudgud96
Copy link
Copy Markdown

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.

@yoyolicoris yoyolicoris requested a review from BreezeWhite May 14, 2024 09:41
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