Skip to content

AssertionError: paraformer-zh-streaming is not registered #2949

@bjxx-algo

Description

@bjxx-algo

🐛 Bug

To Reproduce

[Steps to reproduce the behavior. Always include the exact command you ran.

Name Version Build Channel

funasr 1.2.9 pypi_0 pypi
modelscope 1.33.0 pypi_0 pypi

Code sample

https://huggingface.co/funasr/paraformer-zh-streaming

follow the script in the model card

Expected behavior

Error logs

funasr/auto/auto_model.py", lin

e 125, in init
model, kwargs = self.build_model(**kwargs)
File "/data1051n/algorithm/home/luor/modelzoos/FunASR/funasr/auto/auto_model.py", line 264, in build_model
assert model_class is not None, f'{kwargs["model"]} is not registered'
AssertionError: funasr/paraformer-zh-streaming is not registered

Environment

  • OS:
  • Python version:
  • FunASR version:
  • ModelScope version:
  • PyTorch / torchaudio version: 2.5
  • Install method (pip, source, Docker): pip
  • Device (cuda, cpu, mps):
  • GPU model:
  • CUDA/cuDNN version:
  • Docker image tag, if used:

Audio details

If the audio cannot be shared, please describe:

  • Duration:
  • Sample rate:
  • Format:
  • Language/dialect:
  • Speaker count:
  • Background noise/music:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNeeds maintainer triage and routing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions