Sync from GitHub repo
Browse filesThis Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there
src/f5_tts/train/finetune_cli.py
CHANGED
|
@@ -106,6 +106,8 @@ def main():
|
|
| 106 |
|
| 107 |
vocab_char_map, vocab_size = get_tokenizer(tokenizer_path, tokenizer)
|
| 108 |
|
|
|
|
|
|
|
| 109 |
mel_spec_kwargs = dict(
|
| 110 |
target_sample_rate=target_sample_rate,
|
| 111 |
n_mel_channels=n_mel_channels,
|
|
|
|
| 106 |
|
| 107 |
vocab_char_map, vocab_size = get_tokenizer(tokenizer_path, tokenizer)
|
| 108 |
|
| 109 |
+
print("\nvocab : ", vocab_size)
|
| 110 |
+
|
| 111 |
mel_spec_kwargs = dict(
|
| 112 |
target_sample_rate=target_sample_rate,
|
| 113 |
n_mel_channels=n_mel_channels,
|
src/f5_tts/train/finetune_gradio.py
CHANGED
|
@@ -1389,7 +1389,7 @@ If you encounter a memory error, try reducing the batch size per GPU to a smalle
|
|
| 1389 |
save_per_updates.value = save_per_updatesv
|
| 1390 |
last_per_steps.value = last_per_stepsv
|
| 1391 |
ch_finetune.value = finetunev
|
| 1392 |
-
file_checkpoint_train.value =
|
| 1393 |
tokenizer_type.value = tokenizer_typev
|
| 1394 |
tokenizer_file.value = tokenizer_filev
|
| 1395 |
mixed_precision.value = mixed_precisionv
|
|
|
|
| 1389 |
save_per_updates.value = save_per_updatesv
|
| 1390 |
last_per_steps.value = last_per_stepsv
|
| 1391 |
ch_finetune.value = finetunev
|
| 1392 |
+
file_checkpoint_train.value = file_checkpoint_trainv
|
| 1393 |
tokenizer_type.value = tokenizer_typev
|
| 1394 |
tokenizer_file.value = tokenizer_filev
|
| 1395 |
mixed_precision.value = mixed_precisionv
|