Skip to content

Commit

Permalink
trigger actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Flynn committed Oct 21, 2024
1 parent 9968d1d commit 5696abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/encodec/modeling_encodec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ def compute_loss(self, real_audio, fake_audio):
g_adv_loss += -fake_logit.mean()
g_adv_loss /= self.num_discriminators

# Feature matching loss
# feature matching loss
fm_loss = 0
for real_feat, fake_feat in zip(real_features, fake_features):
for real_f, fake_f in zip(real_feat, fake_feat):
Expand Down

0 comments on commit 5696abc

Please sign in to comment.