mirror of https://github.com/coqui-ai/TTS.git
small gst config change
This commit is contained in:
parent
1436206224
commit
c4828b2b9e
|
@ -239,4 +239,4 @@ class TacotronGSTTrainTest(unittest.TestCase):
|
|||
assert (param != param_ref).any(
|
||||
), "param {} {} with shape {} not updated!! \n{}\n{}".format(
|
||||
name, count, param.shape, param, param_ref)
|
||||
count += 1
|
||||
count += 1
|
||||
|
|
|
@ -359,8 +359,8 @@ def check_config(c):
|
|||
|
||||
# GST
|
||||
_check_argument('use_gst', c, restricted=True, val_type=bool)
|
||||
_check_argument('gst_style_input', c, restricted=True, val_type=str)
|
||||
_check_argument('gst', c, restricted=True, val_type=dict)
|
||||
_check_argument('gst_style_input', c['gst'], restricted=True, val_type=str)
|
||||
_check_argument('gst_embedding_dim', c['gst'], restricted=True, val_type=int, min_val=1)
|
||||
_check_argument('gst_num_heads', c['gst'], restricted=True, val_type=int, min_val=1)
|
||||
_check_argument('gst_style_tokens', c['gst'], restricted=True, val_type=int, min_val=1)
|
||||
|
|
Loading…
Reference in New Issue