-
Notifications
You must be signed in to change notification settings - Fork 3.9k
新版本windows上报错 Normalizer pynini WeTextProcessing nemo_text_processing 解决方法 #164
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
Comments
666 真及时!!! |
这个报错我用作者告警信息的提示也解决了 |
注释掉这段代码果然可以~ 我是AI小白,问下 Text Normalization 是做什么的? |
文本归一化:“今天下有30%概率下雨” => "今天有百分之三十概率下雨" |
windows 平台的 pynini 可以通过 |
直接设置 do_text_normalization=False |
的确,参数配置下false就不会走了 |
谢谢~ |
但是我觉得这个只是绕过去了,我使用mac m1 芯片和windows 11都遇到这个问题,希望官方能够彻底解决,为啥别人没遇到呢? |
conda 配置环境的话可以安装,其他方式大多会失败。官方只提供了conda方式 |
其实也不用注释掉代码,调用pynini这段逻辑有个判断。在调用infer方法的时候用命名参数配置false,那段逻辑就跳过了 |
感谢大佬,真的可以 |
这个问题有点纠结,显卡不在linux下。库不支持win 😅 |
pynini 太难安装了,mac intel内核,死活没成功。醉了 |
防止后来人搜到这里,命令需要改成: |
success! thx!
|
非常有用,就是WeTextProcessing的版本问题,十分感谢🙏
|
强烈建议作者在requirements里加上版本,有时候因为一个版本的问题浪费很久的时间,谢谢 |
噢,我操,还真好了 |
conda install -c conda-forge pynini=2.1.5 && pip install nemo_text_processing==1.0.2 建议官方更新一下 将nemo_text_processing和WeTextProcessing的版本也固定下来 不然windows下还是会报错 |
新版使用了 nemo_text_processing 和 pynini 来处理中文,但遗憾的是,pynini压根无法在windows平台安装和使用,要使用,也只能安装在WSL子系统上。
不管给出的什么安装方式, 比如
都是无法在Windows上正确安装的
解决方法:
打开 ChatTTS/core.py, 大约143行,注释掉接下来的7行,
问题解决
#160 #162 #150 #147 #101 #155
The text was updated successfully, but these errors were encountered: