Remove check_values and default alphabet
This commit is contained in:
parent
848a612efe
commit
920e92d68a
@ -472,7 +472,7 @@ class _SttConfig(Coqpit):
|
||||
),
|
||||
)
|
||||
alphabet_config_path: str = field(
|
||||
default="data/alphabet.txt",
|
||||
default="",
|
||||
metadata=dict(
|
||||
help="path to the configuration file specifying the alphabet used by the network. See the comment in data/alphabet.txt for a description of the format."
|
||||
),
|
||||
@ -540,11 +540,6 @@ class _SttConfig(Coqpit):
|
||||
),
|
||||
)
|
||||
|
||||
def check_values(self):
|
||||
c = asdict(self)
|
||||
check_argument("alphabet_config_path", c, is_path=True)
|
||||
check_argument("one_shot_infer", c, is_path=True)
|
||||
|
||||
|
||||
def initialize_config_globals(c):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user