mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
check DDC parameters in config.json
This commit is contained in:
1 parent
01339e94a5
commit
9f5f3910e4
1 file changed
+2
@@ -319,6 +319,8 @@ def check_config(c):
|
||||
_check_argument('transition_agent', c, restricted=True, val_type=bool)
|
||||
_check_argument('location_attn', c, restricted=True, val_type=bool)
|
||||
_check_argument('bidirectional_decoder', c, restricted=True, val_type=bool)
|
||||
_check_argument('double_decoder_consistency', c, restricted=True, val_type=bool)
|
||||
_check_argument('ddc_r', c, restricted='double_decoder_consistency' in c.keys(), min_val=1, max_val=7, val_type=int)
|
||||
|
||||
# stopnet
|
||||
_check_argument('stopnet', c, restricted=True, val_type=bool)
|
||||
|
||||
Reference in new issue
Block a user