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
I have created new conda env and install espnet_model_zoo.
I ran this command -
from espnet_model_zoo.downloader import ModelDownloadergot error -