s2st_inference.py
Less than 1 minute
s2st_inference.py
S2ST inference
usage: s2st_inference.py [-h] [--config CONFIG]
[--log_level {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET}]
--output_dir OUTPUT_DIR [--ngpu NGPU] [--seed SEED]
[--dtype {float16,float32,float64}]
[--num_workers NUM_WORKERS] [--batch_size BATCH_SIZE]
--data_path_and_name_and_type
DATA_PATH_AND_NAME_AND_TYPE [--key_file KEY_FILE]
[--allow_variable_data_keys ALLOW_VARIABLE_DATA_KEYS]
[--train_config TRAIN_CONFIG]
[--model_file MODEL_FILE] [--maxlenratio MAXLENRATIO]
[--minlenratio MINLENRATIO]
[--st_subtask_maxlenratio ST_SUBTASK_MAXLENRATIO]
[--st_subtask_minlenratio ST_SUBTASK_MINLENRATIO]
[--threshold THRESHOLD]
[--use_att_constraint USE_ATT_CONSTRAINT]
[--backward_window BACKWARD_WINDOW]
[--forward_window FORWARD_WINDOW]
[--use_teacher_forcing USE_TEACHER_FORCING]
[--always_fix_seed ALWAYS_FIX_SEED] [--nbest NBEST]
[--beam_size BEAM_SIZE] [--penalty PENALTY]
[--st_subtask_nbest ST_SUBTASK_NBEST]
[--st_subtask_beam_size ST_SUBTASK_BEAM_SIZE]
[--st_subtask_penalty ST_SUBTASK_PENALTY]
[--vocoder_config VOCODER_CONFIG]
[--vocoder_file VOCODER_FILE]
[--vocoder_tag VOCODER_TAG]
[--st_subtask_token_type {char,bpe,None}]
[--st_subtask_bpemodel ST_SUBTASK_BPEMODEL]
[--normalize_length NORMALIZE_LENGTH]