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)) `
LightSpeech/core/duration_modeling/length_regulator.py
Line 89 in d9290f7
Runtime error when length predicted negative value.
Maybe need to modify to:
out.append(x_.repeat(max(int(d_), 0), 1))