mirror of
https://github.com/pstrueb/piper.git
synced 2026-04-18 06:15:30 +00:00
Include discriminator loss in validation
This commit is contained in:
@@ -280,7 +280,7 @@ class VitsModel(pl.LightningModule):
|
||||
return loss_disc_all
|
||||
|
||||
def validation_step(self, batch: Batch, batch_idx: int):
|
||||
val_loss = self.training_step_g(batch)
|
||||
val_loss = self.training_step_g(batch) + self.training_step_d(batch)
|
||||
self.log("val_loss", val_loss)
|
||||
|
||||
# Generate audio examples
|
||||
|
||||
Reference in New Issue
Block a user