st_trans.py
Less than 1 minute
st_trans.py
Translate text from speech using a speech translation model on one CPU or GPU
usage: st_trans.py [-h] [--config CONFIG] [--config2 CONFIG2]
[--config3 CONFIG3] [--ngpu NGPU]
[--dtype {float16,float32,float64}]
[--backend {chainer,pytorch}] [--debugmode DEBUGMODE]
[--seed SEED] [--verbose VERBOSE] [--batchsize BATCHSIZE]
[--preprocess-conf PREPROCESS_CONF] [--api {v1,v2}]
[--trans-json TRANS_JSON] --result-label RESULT_LABEL
--model MODEL [--nbest NBEST] [--beam-size BEAM_SIZE]
[--penalty PENALTY] [--maxlenratio MAXLENRATIO]
[--minlenratio MINLENRATIO] [--tgt-lang TGT_LANG]