@@ -62,7 +62,7 @@ class DurationDiscriminator(nn.Module): #vits2
defforward(self,x,x_mask,dur_r,dur_hat,g=None):
x=torch.detach(x)
ifgisnotNone:
ifgisnotNone:
g=torch.detach(g)
x=x+self.cond(g)
x=self.conv_1(x*x_mask)
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.