{K EY1} (Kei)
06/27/2022, 10:42 PM{K EY1} (Kei)
06/27/2022, 10:43 PMhecko
06/27/2022, 10:55 PMhecko
06/27/2022, 10:56 PMhecko
06/27/2022, 10:57 PM{K EY1} (Kei)
06/28/2022, 2:14 AM{K EY1} (Kei)
06/28/2022, 4:02 AMPUMPKINEATER
06/28/2022, 5:44 AMhecko
06/28/2022, 10:52 AMhecko
06/28/2022, 10:54 AMhecko
06/28/2022, 10:54 AM!pip install TTS
!pip install --force pyworld==0.2.10
!apt install espeak-nghecko
06/28/2022, 10:55 AM!tts --model_name tts_models/en/ljspeech/vits --text "Sup gamers."
that's the only way i'm aware ofhecko
06/28/2022, 10:57 AMpy
dataset_config = [BaseDatasetConfig(name="mane8", meta_file_train="transcription.txt", path="/content/dataset", language="en=us")]
...
def formatter(root_path, manifest_file, **kwargs):
items = []
with open(os.path.join(root_path, manifest_file)) as f:
for line in f.read().splitlines():
cols = line.split("|")
items.append({"text":cols[1], "audio_file":os.path.join(root_path, cols[0]), "speaker_name":cols[2]})
return items
# load training samples
train_samples, eval_samples = load_tts_samples(
dataset_config,
eval_split=True,
eval_split_max_size=config.eval_split_max_size,
eval_split_size=config.eval_split_size,
formatter=formatter,
)hecko
06/28/2022, 10:57 AMpy
trainer = Trainer(
TrainerArgs(restore_path = "/root/.local/share/tts/tts_models--en--ljspeech--vits/model_file.pth"),
...
)
trainer.fit()
or to resume
py
TrainerArgs(continue_path = "/content/drive/Shareddrives/test/vits/mane8/mane8-June-26-2022_06+03PM-0000000"),hecko
06/28/2022, 10:58 AMVitsConfig() i do save_step=500, adjust to tastehecko
06/28/2022, 11:00 AMhecko
06/28/2022, 11:01 AMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:08 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:09 PMPUMPKINEATER
06/28/2022, 2:45 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:47 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:47 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:48 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:48 PMPUMPKINEATER
06/28/2022, 2:48 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:49 PMAwesome Face (GTX 1660 Ti)
06/28/2022, 2:49 PMPUMPKINEATER
06/28/2022, 2:49 PMPUMPKINEATER
06/28/2022, 2:49 PM