From 60f8a5c58fe25481c21122bac95600b12b035bf5 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期二, 25 四月 2023 14:58:01 +0800
Subject: [PATCH] docs
---
funasr/runtime/python/onnxruntime/funasr_onnx/utils/timestamp_utils.py | 4 ++++
funasr/runtime/python/onnxruntime/funasr_onnx/utils/postprocess_utils.py | 4 +++-
funasr/runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py | 9 +++++++++
3 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py b/funasr/runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py
index 029f529..b5b3312 100644
--- a/funasr/runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py
+++ b/funasr/runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py
@@ -1,3 +1,7 @@
+# -*- encoding: utf-8 -*-
+# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
+# MIT License (https://opensource.org/licenses/MIT)
+
from enum import Enum
from typing import List, Tuple, Dict, Any
@@ -189,6 +193,11 @@
class E2EVadModel():
+ """
+ Author: Speech Lab of DAMO Academy, Alibaba Group
+ Deep-FSMN for Large Vocabulary Continuous Speech Recognition
+ https://arxiv.org/abs/1803.05030
+ """
def __init__(self, vad_post_args: Dict[str, Any]):
super(E2EVadModel, self).__init__()
self.vad_opts = VADXOptions(**vad_post_args)
diff --git a/funasr/runtime/python/onnxruntime/funasr_onnx/utils/postprocess_utils.py b/funasr/runtime/python/onnxruntime/funasr_onnx/utils/postprocess_utils.py
index 575fb90..c005fc9 100644
--- a/funasr/runtime/python/onnxruntime/funasr_onnx/utils/postprocess_utils.py
+++ b/funasr/runtime/python/onnxruntime/funasr_onnx/utils/postprocess_utils.py
@@ -1,4 +1,6 @@
-# Copyright (c) Alibaba, Inc. and its affiliates.
+# -*- encoding: utf-8 -*-
+# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
+# MIT License (https://opensource.org/licenses/MIT)
import string
import logging
diff --git a/funasr/runtime/python/onnxruntime/funasr_onnx/utils/timestamp_utils.py b/funasr/runtime/python/onnxruntime/funasr_onnx/utils/timestamp_utils.py
index 3a01812..a9ec8cc 100644
--- a/funasr/runtime/python/onnxruntime/funasr_onnx/utils/timestamp_utils.py
+++ b/funasr/runtime/python/onnxruntime/funasr_onnx/utils/timestamp_utils.py
@@ -1,3 +1,7 @@
+# -*- encoding: utf-8 -*-
+# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
+# MIT License (https://opensource.org/licenses/MIT)
+
import numpy as np
--
Gitblit v1.9.1