Comments (5)
尝试使用新版并配置符号(即moetts.json),可参考readme教程配置
from moetts.
pad = ''
_punctuation = ';:,.!?¡¿—…"«»“” '
_punctuation_zh = ';:,。!?-“”《》、()BP…—~.\·『』・ '
_letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
_numbers = '1234567890'
_others = ''
_letters_ipa = "ɑɐɒæɓʙβɔɕçɗɖðʤəɘɚɛɜɝɞɟʄɡɠɢʛɦɧħɥʜɨɪʝɭɬɫɮʟɱɯɰŋɳɲɴøɵɸθœɶʘɹɺɾɻʀʁɽʂʃʈʧʉʊʋⱱʌɣɤʍχʎʏʑʐʒʔʡʕʢǀǁǂǃˈˌːˑʼʴʰʱʲʷˠˤ˞↓↑→↗↘'̩'ᵻ"
symbols = [_pad] + list(_punctuation) + list(_letters) + list(_letters_ipa)
symbols_zh = [_pad] + list(_punctuation_zh) + list(_letters) + list(_numbers)
SPACE_ID = symbols.index(" ")
模型应该是通过symbol zh训练的,但读取模型时提示的字符数量却是symbol的字符数量,这种存在两个symbol的情况该怎么办呢
from moetts.
将你模型使用的符号写入配置即可,参考 (readme-模型目录格式)https://github.com/luoyily/MoeTTS#%E6%A8%A1%E5%9E%8B%E7%9B%AE%E5%BD%95%E6%A0%BC%E5%BC%8F
from moetts.
写入symbol时,可以正常运行,但无法正常说话。
写入symbol_zh时,提示size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([178, 192]) from checkpoint, the shape in current model is torch.Size([78, 192]).
训练时是使用的中文拼音,即symbol_zh训练。
from moetts.
问题解决了,将text文件替换一下便可正常预测
from moetts.
Related Issues (18)
- 在 Github 上上传的代码不完整? HOT 3
- v1.1 with_tool, tacotron2模型, 点击合成语音 无反应 HOT 6
- 无法识别数字音标 HOT 2
- 关于合成语音时间限制 HOT 2
- 发生运行时错误:RuntimeError: Error(s) in loading state_dict for Tacotron2 HOT 2
- 使用工具箱转换分词+调形时报错 HOT 2
- 希望中文支持 HOT 3
- httpapi开发进度 HOT 2
- 关于 NOGUI 直接代码调用或 直接 控制台调用需求请求 HOT 5
- 1.21版本运行提供的atri vits出现错误 HOT 3
- 关于MoeTTS运行过程中遇见的问题 HOT 6
- 已知BUG
- MoeTTS dataset HOT 1
- 2
- 模型上传到huggingface HOT 2
- 一个可执行的cli版本 HOT 1
- 请问如何自己训练一个模型? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moetts.