GithubHelp home page GithubHelp logo

Comments (6)

kamo-naoyuki avatar kamo-naoyuki commented on September 15, 2024

I'm not sure why it happened.

Could you show the version of espnet?

import espnet
print(espent.__version__)
print(espent.__file__)

from espnet_model_zoo.

ben-8878 avatar ben-8878 commented on September 15, 2024

print(espent.file)

print(espnet.version)
0.9.9
print(espnet.file)
/home/miniconda3/envs/espnet/lib/python3.8/site-packages/espnet/init.py

from espnet_model_zoo.

kamo-naoyuki avatar kamo-naoyuki commented on September 15, 2024

It's too old. Please update espnet

from espnet_model_zoo.

ben-8878 avatar ben-8878 commented on September 15, 2024

It's too old. Please update espnet

update it to latest,it work
may i ask another two question?

  1. how to load local model,?
  2. how to run model on gpu?

from espnet_model_zoo.

kamo-naoyuki avatar kamo-naoyuki commented on September 15, 2024

I think you can easily understand more detail just by reading asr_inference.py

how to load local model,?

You can use the following arguments:

https://github.com/espnet/espnet/blob/2e91e23e50ec05819ddf0c0f756f8aecce52048f/espnet2/bin/asr_inference.py#L53-L57

*_mode_file should be a .pthfile, and_train_configis a*.yaml` file.

how to run model on GPU?

Please use the following:

https://github.com/espnet/espnet/blob/2e91e23e50ec05819ddf0c0f756f8aecce52048f/espnet2/bin/asr_inference.py#L62

from espnet_model_zoo.

ben-8878 avatar ben-8878 commented on September 15, 2024

I think you can easily understand more detail just by reading asr_inference.py

how to load local model,?

You can use the following arguments:

https://github.com/espnet/espnet/blob/2e91e23e50ec05819ddf0c0f756f8aecce52048f/espnet2/bin/asr_inference.py#L53-L57

*_mode_file should be a _.pthfile, and__train_configis a*.yaml` file.

how to run model on GPU?

Please use the following:

https://github.com/espnet/espnet/blob/2e91e23e50ec05819ddf0c0f756f8aecce52048f/espnet2/bin/asr_inference.py#L62

thanks

from espnet_model_zoo.

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.