Skip to content
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

Android deployment issues for VITS in other languages #220

Open
CriDora opened this issue Sep 8, 2024 · 1 comment
Open

Android deployment issues for VITS in other languages #220

CriDora opened this issue Sep 8, 2024 · 1 comment

Comments

@CriDora
Copy link

CriDora commented Sep 8, 2024

app/src/main/assets
├── frontend
│ ├── final.ort
│ ├── frontend.flags
│ ├── g2p_en
│ │ ├── README.md
│ │ ├── cmudict.dict
│ │ ├── model.fst
│ │ └── phones.sym
│ ├── lexicon
│ │ ├── lexicon.txt
│ │ ├── pinyin_dict.txt
│ │ ├── polyphone.txt
│ │ ├── polyphone_phone.txt
│ │ └── prosody.txt
│ ├── tn
│ │ ├── zh_tn_tagger.fst
│ │ └── zh_tn_verbalizer.fst
│ └── vocab.txt
└── vits
├── final.ort
├── phones.txt
├── speaker.txt
└── vits.flags

Thank you for your open source!If I train a char-based VITS model in a language other than Chinese and English, are the contents of the above folders g2p_en, lexicon, and tn also needed? Without these files, I will get an error when deploying this model to a mobile phone:
E20240908 17:31:54.229880 5984 fst.cc:93] FstHeader::Read: Bad FST header: /data/user/0/cn.org.wenet.wetts/files/
2024-09-08 17:31:54.230 5984-5984 native cn.org.wenet.wetts E E20240908 17:31:54.230055 5984 fst.cc:93] FstHeader::Read: Bad FST header: /data/user/0/cn.org.wenet.wetts/files/
2024-09-08 17:31:54.230 5984-5984 libc cn.org.wenet.wetts A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 5984 (org.wenet.wetts), pid 5984 (org.wenet.wetts) 2024-09-08 17:31:54.342 12491-12491 DEBUG pid-12491 A Cm dline: cn.org.wenet.wetts 2024-09-08 17:31:54.342 12491-12491 DEBUG pid-12491 A pid: 5984, tid: 5984, name: org.wenet.wetts >>> cn.org.wenet.wetts <<<

@pengzhendong
Copy link
Member

Plz comment out some code in this function:

void init(JNIEnv* env, jobject, jstring jModelDir) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants