Skip to content

Commit

Permalink
shorten jets test
Browse files Browse the repository at this point in the history
  • Loading branch information
kan-bayashi committed May 17, 2022
1 parent df053b8 commit b1e6c75
Showing 1 changed file with 0 additions and 80 deletions.
80 changes: 0 additions & 80 deletions test/espnet2/gan_tts/jets/test_jets.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,46 +251,6 @@ def make_jets_loss_args(**kwargs):
},
{},
),
(
{},
{
"discriminator_type": "hifigan_period_discriminator",
"discriminator_params": {
"period": 2,
"in_channels": 1,
"out_channels": 1,
"kernel_sizes": [5, 3],
"channels": 16,
"downsample_scales": [3, 3, 1],
"max_downsample_channels": 32,
"bias": True,
"nonlinear_activation": "LeakyReLU",
"nonlinear_activation_params": {"negative_slope": 0.1},
"use_weight_norm": True,
"use_spectral_norm": False,
},
},
{},
),
(
{},
{
"discriminator_type": "hifigan_scale_discriminator",
"discriminator_params": {
"in_channels": 1,
"out_channels": 1,
"kernel_sizes": [15, 41, 5, 3],
"channels": 16,
"max_downsample_channels": 32,
"max_groups": 16,
"bias": True,
"downsample_scales": [2, 2, 1],
"nonlinear_activation": "LeakyReLU",
"nonlinear_activation_params": {"negative_slope": 0.1},
},
},
{},
),
(
{},
{},
Expand Down Expand Up @@ -442,46 +402,6 @@ def test_jets_is_trainable_and_decodable(gen_dict, dis_dict, loss_dict):
},
{},
),
(
{},
{
"discriminator_type": "hifigan_period_discriminator",
"discriminator_params": {
"period": 2,
"in_channels": 1,
"out_channels": 1,
"kernel_sizes": [5, 3],
"channels": 16,
"downsample_scales": [3, 3, 1],
"max_downsample_channels": 32,
"bias": True,
"nonlinear_activation": "LeakyReLU",
"nonlinear_activation_params": {"negative_slope": 0.1},
"use_weight_norm": True,
"use_spectral_norm": False,
},
},
{},
),
(
{},
{
"discriminator_type": "hifigan_scale_discriminator",
"discriminator_params": {
"in_channels": 1,
"out_channels": 1,
"kernel_sizes": [15, 41, 5, 3],
"channels": 16,
"max_downsample_channels": 32,
"max_groups": 16,
"bias": True,
"downsample_scales": [2, 2, 1],
"nonlinear_activation": "LeakyReLU",
"nonlinear_activation_params": {"negative_slope": 0.1},
},
},
{},
),
(
{},
{},
Expand Down

0 comments on commit b1e6c75

Please sign in to comment.