Open LEECHOONGHO opened 2 years ago
How's the synth result with fs2 duration predictor after the same steps of training? And also, in fs2 training, grad from duration predictor is passed to encoder, while in vits, it used x.detach() to cut off grad, I think this might also be taken into consideration. https://github.com/jaywalnut310/vits/blob/2e561ba58618d021b5b8323d3765880f7e0ecfdb/models.py#L51
@OnceJune Thanks for your Reply. fastspeech2 duration predictor works well. Audio sample synthesized by ddp is like below. https://user-images.githubusercontent.com/44384060/154802366-3e1a959f-8652-4adb-95f8-f234ceb09d87.mp4
I think that's a very good point. However, as mentioned in paper, I am afraid that the loss obtained from the noise of SDP could affect adversely to text encoder(like mispronunciation). I'll test this out and report if result is good.
@LEECHOONGHO Hi mate, have you sucessfully applied SDP to fs2?
I have sometimes the same issue in VITS. My workaround is to launch the training again from scratch.
I applied the stochastic duration predictor to the fastspeech2 model.
Duration loss is falling smoothly (1.2 to 0.2)![image](https://user-images.githubusercontent.com/44384060/154799913-940eb784-c426-45a9-8fbf-e374c19a502f.png)
But, in inference, the duration predictor does not work at all. (noise scale=0.333)![image](https://user-images.githubusercontent.com/44384060/154799926-245cef43-571c-4bfe-b1f5-476340f83cdd.png)
Does anyone know the cause of this problem? The pseudo code I used is like below