From 5fb7dd619293dcd1cc02c6371c4079c22a40a23b Mon Sep 17 00:00:00 2001 From: ftshijt <728307998@qq.com> Date: Wed, 27 Apr 2022 00:53:46 -0400 Subject: [PATCH] remove requirement for src_token_list --- espnet2/tasks/st.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espnet2/tasks/st.py b/espnet2/tasks/st.py index 182a335cc56..2b992f0be4e 100644 --- a/espnet2/tasks/st.py +++ b/espnet2/tasks/st.py @@ -206,7 +206,7 @@ def add_task_arguments(cls, parser: argparse.ArgumentParser): # NOTE(kamo): add_arguments(..., required=True) can't be used # to provide --print_config mode. Instead of it, do as required = parser.get_default("required") - required += ["src_token_list", "token_list"] + required += ["token_list"] group.add_argument( "--token_list",