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

mutli train #955

Closed
Yymax-max opened this issue Mar 21, 2023 · 1 comment
Closed

mutli train #955

Yymax-max opened this issue Mar 21, 2023 · 1 comment

Comments

@Yymax-max
Copy link

if i want to use open data and own data to train a zh model ,how i can do to generate a mainfest for train.can get me some example or some tips ? thank you

@yfyeung
Copy link
Collaborator

yfyeung commented Mar 22, 2023

First, you need to add some recipes in lhotse to support your own corpus. You can refer the following PR in lhotse:
lhotse-speech/lhotse#996

Second, you need to add a recipe prepare.sh, using lhotse to prepare manifests for you data, just like https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/prepare.sh

Third, you need to write a recipe asr_datamodule.py to generate dataloader for train & dev & test, just like:
https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py

@yfyeung yfyeung closed this as completed Mar 22, 2023
@yfyeung yfyeung reopened this Mar 22, 2023
@yfyeung yfyeung closed this as completed Mar 23, 2023
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