PlayVoice / whisper-vits-svc

Core Engine of Singing Voice Conversion & Singing Voice Clone
https://huggingface.co/spaces/maxmax20160403/sovits5.0
MIT License
2.55k stars 914 forks source link

Missing data perturbation code in Data preprocessing. #188

Closed MuruganR96 closed 2 months ago

MuruganR96 commented 2 months ago

I couldn't find Data perturbation code in Data preprocessing.

@MaxMax2016 could you add the data perturbation script? please help me

Thanks

MaxMax2016 commented 2 months ago

Here: https://github.com/PlayVoice/so-vits-svc-5.0/blob/bigvgan-mix-v2/vits/models.py#L183~L185

def forward(self, ppg, vec, pit, spec, spk, ppg_l, spec_l):
        ppg = ppg + torch.randn_like(ppg) * 1  # Perturbation
        vec = vec + torch.randn_like(vec) * 2  # Perturbation