2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
31.19k stars 3.39k forks source link

音色库升级 10000个音色在线听! 上次1000个后很多人加我希望更多,这次生产了1万个 #329

Closed kangyiwen closed 3 months ago

kangyiwen commented 3 months ago

上次1000个后很多人加我希望更多(https://github.com/2noise/ChatTTS/issues/281),这次生产了1万个

网址:http://ttslist.aiqbh.com/10000cn/

给个小Star鼓励下吧:https://github.com/kangyiwen/TTSlist/

jianchang512 commented 3 months ago

提个建议,可以 提供个 音色 pt 或csv格式下载

保存csv格式代码

import pandas as pd
import torch

torch.manual_seed(seed_int)
std, mean = torch.load(f'{CHATTTS_DIR}/asset/spk_stat.pt').chunk(2)
rand_spk = torch.randn(768) * std + mean

df = pd.DataFrame({"speaker": [float(i) for i in rand_spk]})
df.to_csv("xxxx.csv", index=False, header=False)
kangyiwen commented 3 months ago

你打开网址,可以看到baidu网盘下载wav的。 PT csv里是想要参数吗?

jianchang512 commented 3 months ago

一般人需要使用时不会想要wav的,需要的是音色值或csv或pt

类似这个项目 https://github.com/6drf21e/ChatTTS_Speaker/tree/main 提供pt下载

kangyiwen commented 3 months ago

我还不熟悉,我理解下哦。 pt csv 是在哪里用的? 你们是用哪个UI包的? pt csv 可以自己放到UI里,直接选,是吗?

jianchang512 commented 3 months ago

刷新下,看上面提供了csv生成代码。pt更简单 torch.save(spk,'xx.pt') 即可生成

是的,我的webui项目支持csv和pt直接使用

https://github.com/jianchang512/ChatTTS-ui

kangyiwen commented 3 months ago

哦! 大神,我就是用你这个批了生产的。 我学下

robinspt commented 3 months ago

一般人需要使用时不会想要wav的,需要的是音色值或csv或pt

类似这个项目 https://github.com/6drf21e/ChatTTS_Speaker/tree/main 提供pt下载

大佬,下载的pt文件,在你的项目是直接导入/chatTTS-ui/speaker文件夹吗?

jianchang512 commented 3 months ago

一般人需要使用时不会想要wav的,需要的是音色值或csv或pt 类似这个项目 https://github.com/6drf21e/ChatTTS_Speaker/tree/main 提供pt下载

大佬,下载的pt文件,在你的项目是直接导入/chatTTS-ui/speaker文件夹吗?

放在这个文件夹里就行,升级到 0.92 版本

kangyiwen commented 3 months ago

1~10000 CSV可以下载了

http://ttslist.aiqbh.com/10000cn/speaker.rar

如果想单独下载某个,举例:http://ttslist.aiqbh.com/10000cn/speaker/1.csv

tiny-andr commented 3 months ago

一般人需要使用时不会想要wav的,需要的是音色值或csv或pt

类似这个项目 https://github.com/6drf21e/ChatTTS_Speaker/tree/main 提供pt下载

https://github.com/6drf21e/ChatTTS_Speaker/tree/main 这里面的文件evaluation_results.csv文件是没法在ChatTTS_colab项目中用么 不知道该放在哪个文件夹。。