isuneast commited on
Commit
779a2e0
1 Parent(s): 0096fe5

add model genshin

Browse files
Data/genshin/config.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "train": {
3
+ "log_interval": 200,
4
+ "eval_interval": 1000,
5
+ "seed": 52,
6
+ "epochs": 10000,
7
+ "learning_rate": 0.0003,
8
+ "betas": [
9
+ 0.8,
10
+ 0.99
11
+ ],
12
+ "eps": 1e-09,
13
+ "batch_size": 16,
14
+ "fp16_run": false,
15
+ "lr_decay": 0.999875,
16
+ "segment_size": 16384,
17
+ "init_lr_ratio": 1,
18
+ "warmup_epochs": 0,
19
+ "c_mel": 45,
20
+ "c_kl": 1.0
21
+ },
22
+ "data": {
23
+ "use_mel_posterior_encoder": false,
24
+ "training_files": "filelists/train.list",
25
+ "validation_files": "filelists/val.list",
26
+ "max_wav_value": 32768.0,
27
+ "sampling_rate": 44100,
28
+ "filter_length": 2048,
29
+ "hop_length": 512,
30
+ "win_length": 2048,
31
+ "n_mel_channels": 128,
32
+ "mel_fmin": 0.0,
33
+ "mel_fmax": null,
34
+ "add_blank": true,
35
+ "n_speakers": 256,
36
+ "cleaned_text": true,
37
+ "spk2id": {
38
+ "anzai": 0,
39
+ "「信使」": 1,
40
+ "「公子」": 2,
41
+ "「博士」": 3,
42
+ "「大肉丸」": 4,
43
+ "「女士」": 5,
44
+ "「散兵」": 6,
45
+ "「白老先生」": 7,
46
+ "七七": 8,
47
+ "三月七": 9,
48
+ "上杉": 10,
49
+ "丹吉尔": 11,
50
+ "丹恒": 12,
51
+ "丹枢": 13,
52
+ "丽莎": 14,
53
+ "久利须": 15,
54
+ "久岐忍": 16,
55
+ "九条裟罗": 17,
56
+ "九条镰治": 18,
57
+ "云堇": 19,
58
+ "五郎": 20,
59
+ "伊利亚斯": 21,
60
+ "伊迪娅": 22,
61
+ "优菈": 23,
62
+ "伦纳德": 24,
63
+ "佐西摩斯": 25,
64
+ "佩拉": 26,
65
+ "停云": 27,
66
+ "元太": 28,
67
+ "克列门特": 29,
68
+ "克拉拉": 30,
69
+ "克罗索": 31,
70
+ "八重神子": 32,
71
+ "公输师傅": 33,
72
+ "凝光": 34,
73
+ "凯亚": 35,
74
+ "凯瑟琳": 36,
75
+ "刃": 37,
76
+ "刻晴": 38,
77
+ "北斗": 39,
78
+ "半夏": 40,
79
+ "博易": 41,
80
+ "博来": 42,
81
+ "卡波特": 43,
82
+ "卡维": 44,
83
+ "卡芙卡": 45,
84
+ "卢卡": 46,
85
+ "可可利亚": 47,
86
+ "可莉": 48,
87
+ "史瓦罗": 49,
88
+ "吴船长": 50,
89
+ "哲平": 51,
90
+ "嘉玛": 52,
91
+ "嘉良": 53,
92
+ "回声海螺": 54,
93
+ "坎蒂丝": 55,
94
+ "埃勒曼": 56,
95
+ "埃尔欣根": 57,
96
+ "埃德": 58,
97
+ "埃泽": 59,
98
+ "埃洛伊": 60,
99
+ "埃舍尔": 61,
100
+ "塔杰·拉德卡尼": 62,
101
+ "塞塔蕾": 63,
102
+ "塞琉斯": 64,
103
+ "夏洛蒂": 65,
104
+ "多莉": 66,
105
+ "夜兰": 67,
106
+ "大慈树王": 68,
107
+ "大毫": 69,
108
+ "天叔": 70,
109
+ "天目十五": 71,
110
+ "奥兹": 72,
111
+ "奥列格": 73,
112
+ "女士": 74,
113
+ "妮露": 75,
114
+ "姬子": 76,
115
+ "娜塔莎": 77,
116
+ "娜维娅": 78,
117
+ "安柏": 79,
118
+ "安西": 80,
119
+ "宛烟": 81,
120
+ "宵宫": 82,
121
+ "岩明": 83,
122
+ "巴达维": 84,
123
+ "布洛妮娅": 85,
124
+ "希儿": 86,
125
+ "希露瓦": 87,
126
+ "帕姆": 88,
127
+ "帕斯卡": 89,
128
+ "常九爷": 90,
129
+ "康纳": 91,
130
+ "开拓者(女)": 92,
131
+ "开拓者(男)": 93,
132
+ "式大将": 94,
133
+ "彦卿": 95,
134
+ "影": 96,
135
+ "德沃沙克": 97,
136
+ "恕筠": 98,
137
+ "恶龙": 99,
138
+ "悦": 100,
139
+ "慧心": 101,
140
+ "戴因斯雷布": 102,
141
+ "托克": 103,
142
+ "托马": 104,
143
+ "拉赫曼": 105,
144
+ "拉齐": 106,
145
+ "掇星攫辰天君": 107,
146
+ "提纳里": 108,
147
+ "斯坦利": 109,
148
+ "斯科特": 110,
149
+ "旁白": 111,
150
+ "早柚": 112,
151
+ "昆钧": 113,
152
+ "明曦": 114,
153
+ "景元": 115,
154
+ "晴霓": 116,
155
+ "杜拉夫": 117,
156
+ "杰帕德": 118,
157
+ "松浦": 119,
158
+ "林尼": 120,
159
+ "枫原万叶": 121,
160
+ "柊千里": 122,
161
+ "查尔斯": 123,
162
+ "柯莱": 124,
163
+ "桑博": 125,
164
+ "欧菲妮": 126,
165
+ "毗伽尔": 127,
166
+ "沙扎曼": 128,
167
+ "派蒙": 129,
168
+ "流浪者": 130,
169
+ "浣溪": 131,
170
+ "浮游水蕈兽·元素生命": 132,
171
+ "海妮耶": 133,
172
+ "海芭夏": 134,
173
+ "深渊使徒": 135,
174
+ "深渊法师": 136,
175
+ "温迪": 137,
176
+ "烟绯": 138,
177
+ "爱德琳": 139,
178
+ "爱贝尔": 140,
179
+ "玛乔丽": 141,
180
+ "玛塞勒": 142,
181
+ "玛格丽特": 143,
182
+ "玲可": 144,
183
+ "珊瑚": 145,
184
+ "珊瑚宫心海": 146,
185
+ "珐露珊": 147,
186
+ "班尼特": 148,
187
+ "琳妮特": 149,
188
+ "琴": 150,
189
+ "瑶瑶": 151,
190
+ "瓦尔特": 152,
191
+ "甘雨": 153,
192
+ "田铁嘴": 154,
193
+ "申鹤": 155,
194
+ "留云借风真君": 156,
195
+ "白术": 157,
196
+ "白露": 158,
197
+ "百闻": 159,
198
+ "知易": 160,
199
+ "石头": 161,
200
+ "砂糖": 162,
201
+ "神里绫人": 163,
202
+ "神里绫华": 164,
203
+ "空": 165,
204
+ "符玄": 166,
205
+ "笼钓瓶一心": 167,
206
+ "米卡": 168,
207
+ "素裳": 169,
208
+ "纯水精灵?": 170,
209
+ "纳比尔": 171,
210
+ "纳西妲": 172,
211
+ "绮良良": 173,
212
+ "绿芙蓉": 174,
213
+ "罗刹": 175,
214
+ "罗莎莉亚": 176,
215
+ "羽生田千鹤": 177,
216
+ "老孟": 178,
217
+ "胡桃": 179,
218
+ "舒伯特": 180,
219
+ "艾丝妲": 181,
220
+ "艾伯特": 182,
221
+ "艾尔海森": 183,
222
+ "艾文": 184,
223
+ "艾莉丝": 185,
224
+ "芙宁娜": 186,
225
+ "芭芭拉": 187,
226
+ "荒泷一斗": 188,
227
+ "荧": 189,
228
+ "莎拉": 190,
229
+ "莫塞伊思": 191,
230
+ "莫娜": 192,
231
+ "莱依拉": 193,
232
+ "莺儿": 194,
233
+ "菲米尼": 195,
234
+ "菲谢尔": 196,
235
+ "萍姥姥": 197,
236
+ "萨赫哈蒂": 198,
237
+ "萨齐因": 199,
238
+ "蒂玛乌斯": 200,
239
+ "虎克": 201,
240
+ "螺丝咕姆": 202,
241
+ "行秋": 203,
242
+ "西拉杰": 204,
243
+ "言笑": 205,
244
+ "诺艾尔": 206,
245
+ "费斯曼": 207,
246
+ "赛诺": 208,
247
+ "辛焱": 209,
248
+ "达达利亚": 210,
249
+ "迈勒斯": 211,
250
+ "迈蒙": 212,
251
+ "迪卢克": 213,
252
+ "迪奥娜": 214,
253
+ "迪娜泽黛": 215,
254
+ "迪希雅": 216,
255
+ "那维莱特": 217,
256
+ "重云": 218,
257
+ "金人会长": 219,
258
+ "钟离": 220,
259
+ "银狼": 221,
260
+ "镜流": 222,
261
+ "长生": 223,
262
+ "阿佩普": 224,
263
+ "阿兰": 225,
264
+ "阿圆": 226,
265
+ "阿娜耶": 227,
266
+ "阿守": 228,
267
+ "阿尔卡米": 229,
268
+ "阿巴图伊": 230,
269
+ "阿扎尔": 231,
270
+ "阿拉夫": 232,
271
+ "阿晃": 233,
272
+ "阿洛瓦": 234,
273
+ "阿祇": 235,
274
+ "阿贝多": 236,
275
+ "陆行岩本真蕈·元素生命": 237,
276
+ "雷泽": 238,
277
+ "雷电将军": 239,
278
+ "霄翰": 240,
279
+ "霍夫曼": 241,
280
+ "青镞": 242,
281
+ "青雀": 243,
282
+ "香菱": 244,
283
+ "驭空": 245,
284
+ "魈": 246,
285
+ "鹿野奈奈": 247,
286
+ "鹿野院平藏": 248,
287
+ "黑塔": 249,
288
+ "龙二": 250
289
+ }
290
+ },
291
+ "model": {
292
+ "use_spk_conditioned_encoder": true,
293
+ "use_noise_scaled_mas": true,
294
+ "use_mel_posterior_encoder": false,
295
+ "use_duration_discriminator": true,
296
+ "inter_channels": 192,
297
+ "hidden_channels": 192,
298
+ "filter_channels": 768,
299
+ "n_heads": 2,
300
+ "n_layers": 6,
301
+ "kernel_size": 3,
302
+ "p_dropout": 0.1,
303
+ "resblock": "1",
304
+ "resblock_kernel_sizes": [
305
+ 3,
306
+ 7,
307
+ 11
308
+ ],
309
+ "resblock_dilation_sizes": [
310
+ [
311
+ 1,
312
+ 3,
313
+ 5
314
+ ],
315
+ [
316
+ 1,
317
+ 3,
318
+ 5
319
+ ],
320
+ [
321
+ 1,
322
+ 3,
323
+ 5
324
+ ]
325
+ ],
326
+ "upsample_rates": [
327
+ 8,
328
+ 8,
329
+ 2,
330
+ 2,
331
+ 2
332
+ ],
333
+ "upsample_initial_channel": 512,
334
+ "upsample_kernel_sizes": [
335
+ 16,
336
+ 16,
337
+ 8,
338
+ 2,
339
+ 2
340
+ ],
341
+ "n_layers_q": 3,
342
+ "use_spectral_norm": false,
343
+ "gin_channels": 256
344
+ },
345
+ "version": "1.0.1"
346
+ }
Data/genshin/models/DUR_78000.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a6a2eaab6a6913aaa620cfaa865f97e491a9afdb97a09fd028110108bc53ad2
3
+ size 6891415
Data/genshin/models/D_78000.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1b0c3faa6c31c880af622db64f2353f15c5375a71065969eae78a13decbe2a3
3
+ size 561098249
Data/genshin/models/G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f19916bea3890c53cc1a6cf346c67ee76da68cf4871eb3ec5ca8afc4df137fc
3
+ size 621696821
config.yml CHANGED
@@ -4,7 +4,11 @@
4
  # 拟提供通用路径配置,统一存放数据,避免数据放得很乱
5
  # 每个数据集与其对应的模型存放至统一路径下,后续所有的路径配置均为相对于datasetPath的路径
6
  # 不填或者填空则路径为相对于项目根目录的路径
7
- dataset_path: "Data/badXT"
 
 
 
 
8
 
9
  # 模型镜像源,默认huggingface,使用openi镜像源需指定openi_token
10
  mirror: ""
@@ -50,9 +54,9 @@ bert_gen:
50
  config_path: "config.json"
51
  # 并行数
52
  num_processes: 4
53
- # 使用设备:可选项 "cuda" 显卡推理,"cpu" cpu推理
54
  # 该选项同时决定了get_bert_feature的默认设备
55
- device: "cuda"
56
  # 使用多卡推理
57
  use_multi_device: false
58
 
@@ -63,8 +67,8 @@ emo_gen:
63
  config_path: "config.json"
64
  # 并行数
65
  num_processes: 4
66
- # 使用设备:可选项 "cuda" 显卡推理,"cpu" cpu推理
67
- device: "cuda"
68
  # 使用多卡推理
69
  use_multi_device: false
70
 
@@ -102,7 +106,7 @@ webui:
102
  # 推理设备
103
  device: "cpu"
104
  # 模型路径
105
- model: "models/G_3250.pth"
106
  # 配置文件路径
107
  config_path: "config.json"
108
  # 端口号
@@ -122,7 +126,7 @@ server:
122
  # 端口号
123
  port: 5000
124
  # 模型默认使用设备:但是当前并没有实现这个配置。
125
- device: "cuda"
126
  # 需要加载的所有模型的配置,可以填多个模型,也可以不填模型,等网页成功后手动加载模型
127
  # 不加载模型的配置格式:删除默认给的两个模型配置,给models赋值 [ ],也就是空列表。参考模型2的speakers 即 models: [ ]
128
  # 注意,所有模型都必须正确配置model与config的路径,空路径会导致加载错误。
@@ -133,7 +137,7 @@ server:
133
  # 模型config.json的路径
134
  config: ""
135
  # 模型使用设备,若填写则会覆盖默认配置
136
- device: "cuda"
137
  # 模型默认使用的语言
138
  language: "ZH"
139
  # 模型人物默认参数
 
4
  # 拟提供通用路径配置,统一存放数据,避免数据放得很乱
5
  # 每个数据集与其对应的模型存放至统一路径下,后续所有的路径配置均为相对于datasetPath的路径
6
  # 不填或者填空则路径为相对于项目根目录的路径
7
+ #dataset_path: "Data/badXT"
8
+ #dataset_path: "Data/Azusa"
9
+ dataset_path: "Data/genshin"
10
+ #dataset_path: "Data/hoyo"
11
+ #dataset_path: "Data/hoyo21"
12
 
13
  # 模型镜像源,默认huggingface,使用openi镜像源需指定openi_token
14
  mirror: ""
 
54
  config_path: "config.json"
55
  # 并行数
56
  num_processes: 4
57
+ # 使用设备:可选项 "cpu" 显卡推理,"cpu" cpu推理
58
  # 该选项同时决定了get_bert_feature的默认设备
59
+ device: "cpu"
60
  # 使用多卡推理
61
  use_multi_device: false
62
 
 
67
  config_path: "config.json"
68
  # 并行数
69
  num_processes: 4
70
+ # 使用设备:可选项 "cpu" 显卡推理,"cpu" cpu推理
71
+ device: "cpu"
72
  # 使用多卡推理
73
  use_multi_device: false
74
 
 
106
  # 推理设备
107
  device: "cpu"
108
  # 模型路径
109
+ model: "models/G.pth"
110
  # 配置文件路径
111
  config_path: "config.json"
112
  # 端口号
 
126
  # 端口号
127
  port: 5000
128
  # 模型默认使用设备:但是当前并没有实现这个配置。
129
+ device: "cpu"
130
  # 需要加载的所有模型的配置,可以填多个模型,也可以不填模型,等网页成功后手动加载模型
131
  # 不加载模型的配置格式:删除默认给的两个模型配置,给models赋值 [ ],也就是空列表。参考模型2的speakers 即 models: [ ]
132
  # 注意,所有模型都必须正确配置model与config的路径,空路径会导致加载错误。
 
137
  # 模型config.json的路径
138
  config: ""
139
  # 模型使用设备,若填写则会覆盖默认配置
140
+ device: "cpu"
141
  # 模型默认使用的语言
142
  language: "ZH"
143
  # 模型人物默认参数