mimbres / YourMT3

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

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

Closed ganxiaozhe23 closed 2 months ago

mimbres commented 2 months 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.