Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'language-score-prediction is not in the pipelines registry group language-score-prediction. Please make sure the correct version of ModelScope library is used.' #2247

Open
seetimee opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@seetimee
Copy link

from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks

inference_pipline = pipeline(
task=Tasks.language_score_prediction,
model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',

output_dir='./tmp/'

)

rec_result = inference_pipline(text_in='hello 大 家 好 呀')
print(rec_result)

###报错
'language-score-prediction is not in the pipelines registry group language-score-prediction. Please make sure the correct version of ModelScope library is used.'

Environment

  • OS (e.g., Linux):
  • FunASR Version 1.1.14:
  • ModelScope Version 1.20.1
  • PyTorch Version (e.g., 2.0.0):
  • How you installed funasr (pip, source):
  • Python version:
  • GPU 3090

Additional context

@seetimee seetimee added the bug Something isn't working label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant