Update train_vits-0.py
Browse files- train_vits-0.py +3 -2
train_vits-0.py
CHANGED
@@ -25,6 +25,7 @@ def mozilla_with_speaker(root_path, meta_file, **kwargs): # pylint: disable=unu
|
|
25 |
txt_file = os.path.join(root_path, meta_file)
|
26 |
items = []
|
27 |
speaker_name = dataset_names[os.path.basename(root_path)]
|
|
|
28 |
with open(txt_file, "r", encoding="utf-8") as ttf:
|
29 |
for line in ttf:
|
30 |
cols = line.split("|")
|
@@ -36,11 +37,11 @@ def mozilla_with_speaker(root_path, meta_file, **kwargs): # pylint: disable=unu
|
|
36 |
|
37 |
|
38 |
dataset_config1 = BaseDatasetConfig(
|
39 |
-
formatter="mozilla" ,meta_file_train="metadata.csv", path="/kaggle/input/persian-tts-dataset
|
40 |
)
|
41 |
|
42 |
dataset_config2 = BaseDatasetConfig(
|
43 |
-
formatter="mozilla" ,meta_file_train="metadata.csv", path="/kaggle/input/persian-tts-dataset"
|
44 |
)
|
45 |
|
46 |
dataset_config3 = BaseDatasetConfig(
|
|
|
25 |
txt_file = os.path.join(root_path, meta_file)
|
26 |
items = []
|
27 |
speaker_name = dataset_names[os.path.basename(root_path)]
|
28 |
+
print(speaker_name)
|
29 |
with open(txt_file, "r", encoding="utf-8") as ttf:
|
30 |
for line in ttf:
|
31 |
cols = line.split("|")
|
|
|
37 |
|
38 |
|
39 |
dataset_config1 = BaseDatasetConfig(
|
40 |
+
formatter="mozilla" ,meta_file_train="metadata.csv", path="/kaggle/input/persian-tts-dataset"
|
41 |
)
|
42 |
|
43 |
dataset_config2 = BaseDatasetConfig(
|
44 |
+
formatter="mozilla" ,meta_file_train="metadata.csv", path="/kaggle/input/persian-tts-dataset-famale"
|
45 |
)
|
46 |
|
47 |
dataset_config3 = BaseDatasetConfig(
|