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

How to train multi speaker datasets? #113

Open
tuna2134 opened this issue Nov 11, 2024 · 2 comments
Open

How to train multi speaker datasets? #113

tuna2134 opened this issue Nov 11, 2024 · 2 comments

Comments

@tuna2134
Copy link

No description provided.

@shivammehta25
Copy link
Owner

Hello,

Check the dataloading:

filepath, spk, text = (
filepath_and_text[0],
int(filepath_and_text[1]),
filepath_and_text[2],
)

The dataset's file list should be arranged in rows like:

text: str|spkd_id: int|audio_location: str 

So example:

Hello, I am Shivam|0|shivam_speech.wav
Hello, I am not Shivam|1|not_shivam_speech.wav
Hello, I am Batman|2|batman_speech.wav
I am not scared of bats now|2|batman_speech2.wav

Update the fielist here:

train_filelist_path: data/filelists/vctk_audio_sid_text_train_filelist.txt
valid_filelist_path: data/filelists/vctk_audio_sid_text_val_filelist.txt

set the number of speakers accordingly like in the example it is 3 speakers: [0, 1, 2]

Then follow the steps in readme to Train with your own dataset. Hope this helps :)

@tuna2134
Copy link
Author

Hello,

Check the dataloading:

filepath, spk, text = (
filepath_and_text[0],
int(filepath_and_text[1]),
filepath_and_text[2],
)

The dataset's file list should be arranged in rows like:

text: str|spkd_id: int|audio_location: str 

So example:

Hello, I am Shivam|0|shivam_speech.wav
Hello, I am not Shivam|1|not_shivam_speech.wav
Hello, I am Batman|2|batman_speech.wav
I am not scared of bats now|2|batman_speech2.wav

Update the fielist here:

train_filelist_path: data/filelists/vctk_audio_sid_text_train_filelist.txt
valid_filelist_path: data/filelists/vctk_audio_sid_text_val_filelist.txt

set the number of speakers accordingly like in the example it is 3 speakers: [0, 1, 2]

Then follow the steps in readme to Train with your own dataset. Hope this helps :)

Thanks

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