You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created new conda env and install espnet_model_zoo.
I ran this command -
from espnet_model_zoo.downloader import ModelDownloader
got error -
ERROR:root:espnet_model_zoo is not installed. Please install via pip install -U espnet_model_zoo.
Traceback (most recent call last):
File "", line 1, in
File "/home/knit/espnet/my_scripts/espnet_model_zoo.py", line 8, in
speech2text = Speech2Text.from_pretrained(
File "/home/knit/anaconda3/envs/tf2onnx/lib/python3.8/site-packages/espnet2/bin/asr_inference.py", line 358, in from_pretrained
from espnet_model_zoo.downloader import ModelDownloader
ModuleNotFoundError: No module named 'espnet_model_zoo.downloader'; 'espnet_model_zoo' is not a package
The text was updated successfully, but these errors were encountered:
I also met with this problem,but I solve this problem by update pip.
I notice the pip install espnet_model_zoo command didn't work by checking pip list,and the pip report "You are using pip version 22.0.4; however, version 22.2.2 is available.You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.".
So I run /usr/bin/python3 -m pip install --upgrade pip and run pip install espnet_model_zoo . Then it indeed install espnet-model-zoo 0.1.7 and other dependencies like huggingface-hub 0.9.1 .
I have created new conda env and install espnet_model_zoo.
I ran this command -
from espnet_model_zoo.downloader import ModelDownloader
got error -
The text was updated successfully, but these errors were encountered: