Spaces:
Sleeping
Sleeping
Upload Itako.py
Browse files- configs/Itako.py +39 -0
configs/Itako.py
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
_base_ = [
|
2 |
+
"./_base_/archs/hifi_svc.py",
|
3 |
+
]
|
4 |
+
|
5 |
+
speaker_mapping = {'itako': 0,}
|
6 |
+
|
7 |
+
model = dict(
|
8 |
+
type="HiFiSVC",
|
9 |
+
speaker_encoder=dict(
|
10 |
+
input_size=len(speaker_mapping),
|
11 |
+
),
|
12 |
+
)
|
13 |
+
|
14 |
+
preprocessing = dict(
|
15 |
+
text_features_extractor=dict(
|
16 |
+
type="ContentVec",
|
17 |
+
),
|
18 |
+
pitch_extractor=dict(
|
19 |
+
type="ParselMouthPitchExtractor",
|
20 |
+
keep_zeros=False,
|
21 |
+
f0_min=40.0,
|
22 |
+
f0_max=1600.0,
|
23 |
+
),
|
24 |
+
energy_extractor=dict(
|
25 |
+
type="RMSEnergyExtractor",
|
26 |
+
),
|
27 |
+
augmentations=[
|
28 |
+
dict(
|
29 |
+
type="RandomPitchShifting",
|
30 |
+
key_shifts=[-5., 5.],
|
31 |
+
probability=1.5,
|
32 |
+
),
|
33 |
+
dict(
|
34 |
+
type="RandomTimeStretching",
|
35 |
+
factors=[0.8, 1.2],
|
36 |
+
probability=0.75,
|
37 |
+
)
|
38 |
+
],
|
39 |
+
)
|