SortAnon / ControllableTalkNet

A web app that lets you play around with TalkNet models
GNU Affero General Public License v3.0
121 stars 48 forks source link

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

Open docenig opened 1 year ago

docenig commented 1 year ago

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.