mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
13 lines
358 B
Bash
13 lines
358 B
Bash
|
|
#model="damo/emotion2vec_base"
|
|
model="iic/emotion2vec_base_finetuned"
|
|
model_revision="v2.0.4"
|
|
|
|
python funasr/bin/inference.py \
|
|
+model=${model} \
|
|
+model_revision=${model_revision} \
|
|
+input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav" \
|
|
+output_dir="./outputs/debug" \
|
|
+extract_embedding=False \
|
|
+device="cpu" \
|