From 7c11a0d6a84b0f903a947f6a0e5a2730fb528c87 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 27 五月 2024 19:15:58 +0800
Subject: [PATCH] adapt to new model struct
---
docs/tutorial/README.md | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/tutorial/README.md b/docs/tutorial/README.md
index 20102cc..f87d5fa 100644
--- a/docs/tutorial/README.md
+++ b/docs/tutorial/README.md
@@ -130,7 +130,7 @@
from funasr import AutoModel
model = AutoModel(model="fsmn-vad")
-wav_file = f"{model.model_path}/example/asr_example.wav"
+wav_file = f"{model.model_path}/example/vad_example.wav"
res = model.generate(input=wav_file)
print(res)
```
@@ -221,7 +221,7 @@
++train_conf.validate_interval=2000 \
++train_conf.save_checkpoint_interval=2000 \
++train_conf.keep_nbest_models=20 \
-++train_conf.avg_nbest_model=5 \
+++train_conf.avg_nbest_model=10 \
++optim_conf.lr=0.0002 \
++output_dir="${output_dir}" &> ${log_file}
```
--
Gitblit v1.9.1