lucidrains / voicebox-pytorch

Implementation of Voicebox, new SOTA Text-to-speech network from MetaAI, in Pytorch
MIT License
589 stars 49 forks source link

Probably invalid infill logic #45

Open ex3ndr opened 7 months ago

ex3ndr commented 7 months ago

Hey,

I am looking at the code, paper and Meta's demos and i have strong feeling that there is something wrong with the way infill is solved.

On all demos they cut the audio and then do actual infill keeping surroundings intact, while here we are use full output of the xt, which expects network to be perfectly trained to synthesize very same audio, which is clearly not expected from the model that is measured to do opposite.

It seems we need either to init y0 with noise + unmasked audio or merge results from solver on each step or run solver on specific segment only.