s2t_inference_language.py
Less than 1 minute
s2t_inference_language.py
S2T Decoding
usage: s2t_inference_language.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]
--data_path_and_name_and_type
DATA_PATH_AND_NAME_AND_TYPE
[--key_file KEY_FILE]
[--allow_variable_data_keys ALLOW_VARIABLE_DATA_KEYS]
[--s2t_train_config S2T_TRAIN_CONFIG]
[--s2t_model_file S2T_MODEL_FILE]
[--model_tag MODEL_TAG]
[--first_lang_sym FIRST_LANG_SYM]
[--last_lang_sym LAST_LANG_SYM]
[--quantize_s2t_model QUANTIZE_S2T_MODEL]
[--quantize_modules [QUANTIZE_MODULES ...]]
[--quantize_dtype {float16,qint8}]
[--batch_size BATCH_SIZE] [--nbest NBEST]