ttskit
ttskit copied to clipboard
在WSL2子系统中运行不成功
wsl2 ubuntu 22.04子系统中,执行 命令行报错,这个是什么问题?该如何解决,按理说在没有 Nvidia GPU 的情况下,将默认使用 CPU 运行
$ tkcli -h
/usr/local/lib/python3.10/dist-packages/torch/cuda/__init__.py:138: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 9010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
Traceback (most recent call last):
File "/usr/local/bin/tkcli", line 5, in <module>
from ttskit.cli_api import tts_cli
File "/usr/local/lib/python3.10/dist-packages/ttskit/cli_api.py", line 68, in <module>
from . import sdk_api
File "/usr/local/lib/python3.10/dist-packages/ttskit/sdk_api.py", line 55, in <module>
_stft = TacotronSTFT(
File "/usr/local/lib/python3.10/dist-packages/ttskit/mellotron/layers.py", line 64, in __init__
self.stft_fn = STFT(filter_length, hop_length, win_length)
File "/usr/local/lib/python3.10/dist-packages/ttskit/mellotron/stft.py", line 67, in __init__
fft_window = pad_center(fft_window, filter_length)
TypeError: pad_center() takes 1 positional argument but 2 were given