Skip to content

Commit

Permalink
fix parameters for fs2 (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
SapphireLab authored Jul 15, 2024
1 parent 65ddb1e commit f00c3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/tts/fastspeech2/fs2.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def forward(
x = x + pitch_embedding
if self.energy_feature_level == "frame_level":
energy_prediction, energy_embedding = self.get_energy_embedding(
x, energy_target, mel_mask, p_control
x, energy_target, mel_mask, e_control
)
x = x + energy_embedding

Expand Down

0 comments on commit f00c3ac

Please sign in to comment.