LightSpeech
LightSpeech copied to clipboard
[Bug] duration predictor safe guard
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))
and for inference, seems exp and mel to linear is required before sending mel to griffinlim