mirror of
https://github.com/shivammehta25/Matcha-TTS.git
synced 2026-02-04 17:59:19 +08:00
Adding the possibility to train with durations
This commit is contained in:
@@ -65,6 +65,7 @@ class BaseLightningClass(LightningModule, ABC):
|
||||
y_lengths=y_lengths,
|
||||
spks=spks,
|
||||
out_size=self.out_size,
|
||||
durations=batch["durations"],
|
||||
)
|
||||
return {
|
||||
"dur_loss": dur_loss,
|
||||
|
||||
Reference in New Issue
Block a user