vits icon indicating copy to clipboard operation
vits copied to clipboard

Is there a way to do batch inference?

Open SoulflareRC opened this issue 2 years ago • 3 comments

I'm trying to do inference in batch by padding each sentence to the max length(pad by 0), but it turns out that the model did fine on the text part, but generated noises for the padded part. Is there a proper way to do this?

SoulflareRC avatar Oct 18 '23 03:10 SoulflareRC

Even I am looking for a solution to this. Were you able to find anything ?

sushant-samespace avatar Dec 13 '23 13:12 sushant-samespace

I created batched inference script since I had to run things on scale. Feel free to use it: https://github.com/piyushsinghpasi/VITS-Batched-Inference

piyushsinghpasi avatar Feb 02 '24 15:02 piyushsinghpasi

I created batched inference script since I had to run things on scale. Feel free to use it: https://github.com/piyushsinghpasi/VITS-Batched-Inference

thanks,I have the same problem and solved by your solution

BB-Beta avatar Mar 13 '24 02:03 BB-Beta