KevinWang676 / Bark-Voice-Cloning

Bark Voice Cloning and Voice Cloning for Chinese Speech
MIT License
2.63k stars 373 forks source link

大佬在训练的时候 提示安装不上kantts #18

Open zzlicc opened 1 year ago

zzlicc commented 1 year ago

RuntimeError: Failed to import modelscope.models.audio.tts.sambert_hifi because of the following error (look up to see its traceback): No module named 'kantts' 运行环境colab.research.google.com

KevinWang676 commented 1 year ago

感谢提醒,现在的版本需要在安装KanTTS前运行:pip install git+https://github.com/r9y9/pysptk;安装过后就能正常执行了

yinjie1949 commented 6 months ago

ImportError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/kantts/preprocess/data_process.py in 14 try: ---> 15 from kantts.preprocess.audio_processor.audio_processor import AudioProcessor 16 from kantts.preprocess.se_processor.se_processor import SpeakerEmbeddingProcessor 还是显示没有kantts 21 frames pysptk/_sptk.pyx in init pysptk._sptk()

ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it).

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last) ImportError: Please install kantts.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/modelscope/utils/registry.py in build_from_cfg(cfg, registry, group_key, default_args) 213 except Exception as e: 214 # Normal TypeError does not print class name. --> 215 raise type(e)(f'{obj_cls.name}: {e}')

ImportError: KanttsTrainer: Please install kantts.