Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exits with NeMo and numpy related errors on fresh arch install #36

Open
docenig opened this issue Apr 9, 2023 · 0 comments
Open

Exits with NeMo and numpy related errors on fresh arch install #36

docenig opened this issue Apr 9, 2023 · 0 comments

Comments

@docenig
Copy link

docenig commented Apr 9, 2023

Using the instructions given as-is I'm running into this as the sequence of boot events every time I go to run sudo docker run -it --gpus all -p 8050:8050 talknet-offline:

Updating TalkNet...
Updating HiFi-GAN...
Updating Python dependencies...
Launching TalkNet...
2023-04-09 23:50:33.232655: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
[NeMo W 2023-04-09 23:50:34 optimizers:47] Apex was not found. Using the lamb optimizer will error out.
Traceback (most recent call last):
File "talknet_offline.py", line 3, in <module>
from controllable_talknet import *
File "/talknet/controllable_talknet.py", line 14, in <module>
from nemo.collections.tts.models import TalkNetSpectModel
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/tts/__init__.py", line 15, in <module>
import nemo.collections.tts.data
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/tts/data/__init__.py", line 15, in <module>
import nemo.collections.tts.data.datalayers
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/tts/data/datalayers.py", line 58, in <module>
from nemo.collections.asr.parts.preprocessing.features import WaveformFeaturizer
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/__init__.py", line 15, in <module>
from nemo.collections.asr import data, losses, models, modules
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/models/__init__.py", line 16, in <module>
from nemo.collections.asr.models.classification_models import EncDecClassificationModel
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/models/classification_models.py", line 28, in <module>
from nemo.collections.asr.data import audio_to_label_dataset
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/data/audio_to_label_dataset.py", line 15, in <module>
from nemo.collections.asr.data import audio_to_label
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/data/audio_to_label.py", line 23, in <module>
from nemo.collections.asr.parts.preprocessing.segment import available_formats as valid_sf_formats
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/parts/preprocessing/__init__.py", line 16, in <module>
from nemo.collections.asr.parts.preprocessing.features import (
File "/usr/local/lib/python3.8/dist-packages/nemo/collections/asr/parts/preprocessing/features.py", line 42, in <module>
from librosa.util import tiny
File "/usr/local/lib/python3.8/dist-packages/lazy_loader/__init__.py", line 76, in __getattr__
submod = importlib.import_module(submod_path)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.8/dist-packages/librosa/util/utils.py", line 17, in <module>
from numpy.typing import ArrayLike, DTypeLike
ModuleNotFoundError: No module named 'numpy.typing'

The most I can work out so far is that some packages fell into dependency hell and are expecting numpy to be 1.20 and not 1.19.2, can't figure out the issues with loading NeMo. The Windows build works fine with multiboot, but this error seems to persist across anything Arch related seeing as it's happened on two fresh installs along with Manjaro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant