Git Product home page Git Product logo

Comments (2)

xuzhitong89 avatar xuzhitong89 commented on September 27, 2024

Traceback (most recent call last):
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\utils\registry.py", line 211, in build_from_cfg
return obj_cls._instantiate(**args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\models\base\base_model.py", line 67, in _instantiate
return cls(**kwargs)
^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\models\audio\funasr\model.py", line 55, in init
self.model = AutoModel(model=model_dir, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pycharmprojects\funasr-main-new\funasr-main\funasr\auto\auto_model.py", line 102, in init
vad_model, vad_kwargs = self.build_model(**vad_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pycharmprojects\funasr-main-new\funasr-main\funasr\auto\auto_model.py", line 176, in build_model
model = model_class(**kwargs, **kwargs["model_conf"], vocab_size=vocab_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\utils\registry.py", line 213, in build_from_cfg
return obj_cls(**args)
^^^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\pipelines\audio\funasr_pipeline.py", line 62, in init
super().init(model=model, **kwargs)
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\pipelines\base.py", line 100, in init
self.model = self.initiate_single_model(model, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\pipelines\base.py", line 53, in initiate_single_model
return Model.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\models\base\base_model.py", line 183, in from_pretrained
model = build_model(model_cfg, task_name=task_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\models\builder.py", line 35, in build_model
model = build_from_cfg(
^^^^^^^^^^^^^^^
File "D:\appinstall\pycharm-env\FunASR-main-new\Lib\site-packages\modelscope\utils\registry.py", line 219, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
TypeError: GenericFunASR: 'NoneType' object is not callable

from funasr.

LauraGPT avatar LauraGPT commented on September 27, 2024

Solution: #1319

from funasr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.