Git Product home page Git Product logo

Comments (5)

DataXujing avatar DataXujing commented on August 25, 2024

遇到了相同的问题

from funasr.

LP-world2002 avatar LP-world2002 commented on August 25, 2024

遇到了相同的问题

等周一阿里的工程师上班之后,帮我们回答吧。我找了好多方法都不对

from funasr.

Niche180 avatar Niche180 commented on August 25, 2024

遇到了相同的问题加一

from funasr.

LauraGPT avatar LauraGPT commented on August 25, 2024

Bug has been fixed. Please update funasr and try it again.

from funasr.

yc913344706 avatar yc913344706 commented on August 25, 2024

1 try to download model from git repo

maybe you can try download model from git repo directly, refer to this script.

I also met the same problem as yours, and i found we can download from git repo, just as the content of above script.

...
git clone https://www.modelscope.cn/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch.git ${local_path}
...

2 use git lfs clone if needed

and one note, if you met the below problem keywords:

Error executing job with overrides: ['++init_param=/home/yuchuan/.a/FunASR/examples/industrial_data_pretraining/paraformer/modelscope_models/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/model.pt', '++tokenizer_conf.token_list=/home/yuchuan/.a/FunASR/examples/industrial_data_pretraining/p
araformer/modelscope_models/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/tokens.json', '++frontend_conf.cmvn_file=/home/yuchuan/.a/FunASR/examples/industrial_data_pretraining/paraformer/modelscope_models/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/am.mvn', '++input=https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav', '++output_dir=./outputs/debug', '++device=cuda:0']             
Traceback (most recent call last):
  File "/usr/local/src/Python-3.9.16/lib/python3.9/runpy.py", line 197, in _run_module_as_main                                                             
    return _run_code(code, main_globals, None,
...
  File "/home/yuchuan/.e/funasr/lib/python3.9/site-packages/torch/serialization.py", line 920, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

you can modify the git clone cmd as below, just add lfs, refer to this doc:

...
git lfs clone https://www.modelscope.cn/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch.git ${local_path}
...

3 install git-lfs if needed

and, if you run git lfs clone error, you can install it, refer to this doc.

apt install git-lfs

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.