LightSpeech icon indicating copy to clipboard operation
LightSpeech copied to clipboard

[Bug] duration predictor safe guard

Open OnceJune opened this issue 2 years ago • 1 comments

https://github.com/rishikksh20/LightSpeech/blob/d9290f755f02d33d520c2304c5b6624f87864e55/core/duration_modeling/length_regulator.py#L89

Runtime error when length predicted negative value. Maybe need to modify to: out.append(x_.repeat(max(int(d_), 0), 1))

OnceJune avatar Sep 27 '21 03:09 OnceJune

and for inference, seems exp and mel to linear is required before sending mel to griffinlim

OnceJune avatar Sep 28 '21 06:09 OnceJune