From 3526eaa8d2010bda4bf57be0df2d3b2a85021769 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 06 四月 2023 17:46:46 +0800
Subject: [PATCH] grpc onnx
---
egs_modelscope/lm/speech_transformer_lm_zh-cn-common-vocab8404-pytorch/infer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/egs_modelscope/lm/speech_transformer_lm_zh-cn-common-vocab8404-pytorch/infer.py b/egs_modelscope/lm/speech_transformer_lm_zh-cn-common-vocab8404-pytorch/infer.py
index ed3b7e2..ec309b2 100644
--- a/egs_modelscope/lm/speech_transformer_lm_zh-cn-common-vocab8404-pytorch/infer.py
+++ b/egs_modelscope/lm/speech_transformer_lm_zh-cn-common-vocab8404-pytorch/infer.py
@@ -7,7 +7,7 @@
from modelscope.utils.constant import Tasks
inference_pipline = pipeline(
- task=Tasks.language_model,
+ task=Tasks.language_score_prediction,
model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',
output_dir="./tmp/"
)
--
Gitblit v1.9.1