glow-tts icon indicating copy to clipboard operation
glow-tts copied to clipboard

Error using mel generated from glow-tts for hifi-gan training

Open ankurdhuriya opened this issue 3 years ago • 1 comments

getting error - RuntimeError: stack expects each tensor to be equal size, but got [8192] at entry 0 and [8129] at entry 12

Do anyone have a solution to do it ?

ankurdhuriya avatar Feb 18 '22 10:02 ankurdhuriya

You should either:

  1. Drop the too short audio;
  2. Pad the too short audio to segment length with zeros at the end.

OnceJune avatar Mar 01 '22 11:03 OnceJune