Bert-VITS2本地部署遇到的错误

关于Bert-VITS2本地部署遇到的错误

1、在下载python中相关依赖时报错

building ‘hdbscan._hdbscan_tree’ extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hdbscan Failed to build hdbscan ERROR: Could not build wheels for hdbscan, which is required to install pyproject.toml-based projects

需要下载C++ 14.0,但按照链接下载内存高达10g,所以找到网上的方法;

https://myvs.download.prss.microsoft.com/dbazure/mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso?t=19805bde-a0f2-4147-84a1-d201ce86b5b7&e=1699738795&h=90ffc793c50d0e3a69585aa3a16668f1987ebbb5f9b4df9c22d4ce0c986eceb7&su=1

直接把下载链接挂出,只需要下载C++相关,速度灰常快,2分钟结束。

2、在打开推理网页报错

Resource cmudict not found.
Please use the NLTK Downloader to obtain the resource:

import nltk
nltk.download(‘cmudict’)

For more information see: https://www.nltk.org/data.html

需要下载cmudict放到指定位置,例:

下载链接

https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/cmudict.zip

Bert-VITS2本地部署遇到的错误_第1张图片

我是放到最后一个发现不管用,放到第二个就好了,嫌麻烦可以和我一样。

不定时持续更新;

你可能感兴趣的:(bert,人工智能,深度学习)