From db496d49574fbdd33b799f8a2b59ae6362f9c7d8 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 17 四月 2023 14:34:12 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR add
---
funasr/bin/tp_inference_launch.py | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/funasr/bin/tp_inference_launch.py b/funasr/bin/tp_inference_launch.py
index 903e041..55debac 100644
--- a/funasr/bin/tp_inference_launch.py
+++ b/funasr/bin/tp_inference_launch.py
@@ -2,6 +2,9 @@
# Copyright ESPnet (https://github.com/espnet/espnet). All Rights Reserved.
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
+import torch
+torch.set_num_threads(1)
+
import argparse
import logging
import os
@@ -76,17 +79,17 @@
group = parser.add_argument_group("The model configuration related")
group.add_argument(
- "--tp_train_config",
+ "--timestamp_infer_config",
type=str,
help="VAD infer configuration",
)
group.add_argument(
- "--tp_model_file",
+ "--timestamp_model_file",
type=str,
help="VAD model parameter file",
)
group.add_argument(
- "--tp_cmvn_file",
+ "--timestamp_cmvn_file",
type=str,
help="Global CMVN file",
)
--
Gitblit v1.9.1