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 encountered an issue when trying to install and import the NeMo ASR model on Python 3.10.12. After following the installation steps, I received the following error during the import of the nemo.collections.asr module:
Steps to Reproduce:
Traceback (most recent call last):
File "", line 1, in
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/collections/asr/init.py", line 15, in
from nemo.collections.asr import data, losses, models, modules
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/collections/asr/losses/init.py", line 15, in
from nemo.collections.asr.losses.angularloss import AngularSoftmaxLoss
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/collections/asr/losses/angularloss.py", line 18, in
from nemo.core.classes import Loss, Typing, typecheck
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/init.py", line 16, in
from nemo.core.classes import *
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/init.py", line 20, in
from nemo.core.classes.common import (
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/common.py", line 40, in
from nemo.core.classes.mixins.hf_io_mixin import HuggingFaceFileIO
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/mixins/init.py", line 28, in
from nemo.core.classes.mixins.hf_io_mixin import HuggingFaceFileIO
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/mixins/hf_io_mixin.py", line 19, in
from huggingface_hub import HfApi, ModelCard, ModelCardData, ModelFilter
ImportError: cannot import name 'ModelFilter' from 'huggingface_hub' (/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/asr/lib/python3.10/site-packages/huggingface_hub/init.py)
The text was updated successfully, but these errors were encountered:
I encountered an issue when trying to install and import the NeMo ASR model on Python 3.10.12. After following the installation steps, I received the following error during the import of the nemo.collections.asr module:
Steps to Reproduce:
steps 1
git clone https://github.com/AI4Bharat/NeMo.git && cd NeMo && git checkout nemo-v2 && bash reinstall.sh
step 2
import nemo.collections.asr as nemo_asr
Error:
Traceback (most recent call last):
File "", line 1, in
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/collections/asr/init.py", line 15, in
from nemo.collections.asr import data, losses, models, modules
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/collections/asr/losses/init.py", line 15, in
from nemo.collections.asr.losses.angularloss import AngularSoftmaxLoss
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/collections/asr/losses/angularloss.py", line 18, in
from nemo.core.classes import Loss, Typing, typecheck
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/init.py", line 16, in
from nemo.core.classes import *
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/init.py", line 20, in
from nemo.core.classes.common import (
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/common.py", line 40, in
from nemo.core.classes.mixins.hf_io_mixin import HuggingFaceFileIO
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/mixins/init.py", line 28, in
from nemo.core.classes.mixins.hf_io_mixin import HuggingFaceFileIO
File "/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/NeMo/nemo/core/classes/mixins/hf_io_mixin.py", line 19, in
from huggingface_hub import HfApi, ModelCard, ModelCardData, ModelFilter
ImportError: cannot import name 'ModelFilter' from 'huggingface_hub' (/home/shrikant/Project/python/ASR/speech_to_text_setup/dec262024/asr/lib/python3.10/site-packages/huggingface_hub/init.py)
The text was updated successfully, but these errors were encountered: