You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The class variable lrelu_slope is used in the class method forward but it is not defined. which raises an exception if HiFiGAN is trained with a parameter --resblock 2. The variable is referenced here:
Related to PyTorch/SpeechSynthesis/HiFiGAN
Describe the bug
The class variable
lrelu_slope
is used in the class methodforward
but it is not defined. which raises an exception if HiFiGAN is trained with a parameter--resblock 2
. The variable is referenced here:DeepLearningExamples/PyTorch/SpeechSynthesis/HiFiGAN/hifigan/models.py
Line 130 in d56fe70
To Reproduce
Train HiFiGAN using the regular script (
scripts/train.sh
), adding the input parameter--resblock 2
Expected behavior
Training should run with no errors
Solution
Define the class variable in the
__init__
method, similarly as in classResBlock1
, that is add:self.lrelu_slope = LRELU_SLOPE
Environment
The text was updated successfully, but these errors were encountered: