Skip to content

Android deployment issues for VITS in other languages #220

@lhw26

Description

@lhw26

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 <<<

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions