mimbres / YourMT3

multi-task and multi-track music transcription for everyone
GNU General Public License v3.0
96 stars 2 forks source link

How to batch process multiple audio files at a time ? #6

Closed ganxiaozhe23 closed 1 month ago

mimbres commented 1 month ago

@ganxiaozhe23 Even a single song (e.g., 4 minutes long) is split into 2-second segments and perform inference in batches of test bsz (per GPU). Since parallelism is already applied at the segment level, if there are multiple files, they can be processed sequentially.