linter fixes

This commit is contained in:
Eren Gölge 2021-04-08 16:57:46 +02:00
parent 4d3e1e9d9a
commit cd69da4868
5 changed files with 4 additions and 6 deletions

View File

@ -11,8 +11,7 @@ class MelganDiscriminator(nn.Module):
base_channels=16,
max_channels=1024,
downsample_factors=(4, 4, 4, 4),
groups_denominator=4,
max_groups=256):
groups_denominator=4):
super(MelganDiscriminator, self).__init__()
self.layers = nn.ModuleList()

View File

@ -89,4 +89,3 @@ def test_melgan_feature_loss():
loss_func = MelganFeatureLoss()
loss = loss_func(feats_fake, feats_real)
assert loss.item() == 0