You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
326 B
15 lines
326 B
3 years ago
|
#!/bin/bash
|
||
|
|
||
|
#generate utterance embedding for each utterance in a dataset.
|
||
|
infer_input=$1
|
||
|
infer_output=$2
|
||
|
train_output_path=$3
|
||
|
ckpt_name=$4
|
||
|
|
||
|
python3 ${BIN_DIR}/inference.py \
|
||
|
--input=${infer_input} \
|
||
|
--output=${infer_output} \
|
||
|
--checkpoint_path=${train_output_path}/checkpoints/${ckpt_name} \
|
||
|
--device="gpu"
|
||
|
|