Closed 2024year closed 10 months ago
将模型的config.json替换成这一份试试
{
"train": {
"log_interval": 200,
"eval_interval": 200,
"seed": 1234,
"epochs": 200000,
"learning_rate": 2e-4,
"betas": [0.8, 0.99],
"eps": 1e-9,
"batch_size": 16,
"fp16_run": true,
"lr_decay": 0.999875,
"segment_size": 8192,
"init_lr_ratio": 1,
"warmup_epochs": 0,
"c_mel": 45,
"c_kl": 1.0
},
"data": {
"training_files":"filelists/AISHELL_train.txt.cleaned",
"validation_files":"filelists/AISHELL_val.txt.cleaned",
"text_cleaners":["bert_chinese_cleaners"],
"max_wav_value": 32768.0,
"sampling_rate": 8000,
"filter_length": 1024,
"hop_length": 256,
"win_length": 1024,
"n_mel_channels": 80,
"mel_fmin": 0.0,
"mel_fmax": null,
"add_blank": false,
"n_speakers": 174
},
"model": {
"inter_channels": 192,
"hidden_channels": 192,
"filter_channels": 768,
"n_heads": 2,
"n_layers": 6,
"kernel_size": 3,
"p_dropout": 0.1,
"resblock": "1",
"resblock_kernel_sizes": [3,7,11],
"resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],
"upsample_rates": [8,8,2,2],
"upsample_initial_channel": 512,
"upsample_kernel_sizes": [16,16,4,4],
"n_layers_q": 3,
"use_spectral_norm": false,
"gin_channels": 256,
"bert_embedding": true
},
"speakers": ["Aishell0", "Aishell1", "Aishell2", "Aishell3", "Aishell4", "Aishell5", "Aishell6", "Aishell7", "Aishell8", "Aishell9", "Aishell10", "Aishell11", "Aishell12", "Aishell13", "Aishell14", "Aishell15", "Aishell16", "Aishell17", "Aishell18", "Aishell19", "Aishell20", "Aishell21", "Aishell22", "Aishell23", "Aishell24", "Aishell25", "Aishell26", "Aishell27", "Aishell28", "Aishell29", "Aishell30", "Aishell31", "Aishell32", "Aishell33", "Aishell34", "Aishell35", "Aishell36", "Aishell37", "Aishell38", "Aishell39", "Aishell40", "Aishell41", "Aishell42", "Aishell43", "Aishell44", "Aishell45", "Aishell46", "Aishell47", "Aishell48", "Aishell49", "Aishell50", "Aishell51", "Aishell52", "Aishell53", "Aishell54", "Aishell55", "Aishell56", "Aishell57", "Aishell58", "Aishell59", "Aishell60", "Aishell61", "Aishell62", "Aishell63", "Aishell64", "Aishell65", "Aishell66", "Aishell67", "Aishell68", "Aishell69", "Aishell70", "Aishell71", "Aishell72", "Aishell73", "Aishell74", "Aishell75", "Aishell76", "Aishell77", "Aishell78", "Aishell79", "Aishell80", "Aishell81", "Aishell82", "Aishell83", "Aishell84", "Aishell85", "Aishell86", "Aishell87", "Aishell88", "Aishell89", "Aishell90", "Aishell91", "Aishell92", "Aishell93", "Aishell94", "Aishell95", "Aishell96", "Aishell97", "Aishell98", "Aishell99", "Aishell100", "Aishell101", "Aishell102", "Aishell103", "Aishell104", "Aishell105", "Aishell106", "Aishell107", "Aishell108", "Aishell109", "Aishell110", "Aishell111", "Aishell112", "Aishell113", "Aishell114", "Aishell115", "Aishell116", "Aishell117", "Aishell118", "Aishell119", "Aishell120", "Aishell121", "Aishell122", "Aishell123", "Aishell124", "Aishell125", "Aishell126", "Aishell127", "Aishell128", "Aishell129", "Aishell130", "Aishell131", "Aishell132", "Aishell133", "Aishell134", "Aishell135", "Aishell136", "Aishell137", "Aishell138", "Aishell139", "Aishell140", "Aishell141", "Aishell142", "Aishell143", "Aishell144", "Aishell145", "Aishell146", "Aishell147", "Aishell148", "Aishell149", "Aishell150", "Aishell151", "Aishell152", "Aishell153", "Aishell154", "Aishell155", "Aishell156", "Aishell157", "Aishell158", "Aishell159", "Aishell160", "Aishell161", "Aishell162", "Aishell163", "Aishell164", "Aishell165", "Aishell166", "Aishell167", "Aishell168", "Aishell169", "Aishell170", "Aishell171", "Aishell172", "Aishell173"],
"symbols":["sil", "eos", "sp", "#0", "#1", "#2", "#3", "^", "b", "c", "ch", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "sh", "t", "x", "z", "zh", "a1", "a2", "a3", "a4", "a5", "ai1", "ai2", "ai3", "ai4", "ai5", "an1", "an2", "an3", "an4", "an5", "ang1", "ang2", "ang3", "ang4", "ang5", "ao1", "ao2", "ao3", "ao4", "ao5", "e1", "e2", "e3", "e4", "e5", "ei1", "ei2", "ei3", "ei4", "ei5", "en1", "en2", "en3", "en4", "en5", "eng1", "eng2", "eng3", "eng4", "eng5", "er1", "er2", "er3", "er4", "er5", "i1", "i2", "i3", "i4", "i5", "ia1", "ia2", "ia3", "ia4", "ia5", "ian1", "ian2", "ian3", "ian4", "ian5", "iang1", "iang2", "iang3", "iang4", "iang5", "iao1", "iao2", "iao3", "iao4", "iao5", "ie1", "ie2", "ie3", "ie4", "ie5", "ii1", "ii2", "ii3", "ii4", "ii5", "iii1", "iii2", "iii3", "iii4", "iii5", "in1", "in2", "in3", "in4", "in5", "ing1", "ing2", "ing3", "ing4", "ing5", "iong1", "iong2", "iong3", "iong4", "iong5", "iou1", "iou2", "iou3", "iou4", "iou5", "o1", "o2", "o3", "o4", "o5", "ong1", "ong2", "ong3", "ong4", "ong5", "ou1", "ou2", "ou3", "ou4", "ou5", "u1", "u2", "u3", "u4", "u5", "ua1", "ua2", "ua3", "ua4", "ua5", "uai1", "uai2", "uai3", "uai4", "uai5", "uan1", "uan2", "uan3", "uan4", "uan5", "uang1", "uang2", "uang3", "uang4", "uang5", "uei1", "uei2", "uei3", "uei4", "uei5", "uen1", "uen2", "uen3", "uen4", "uen5", "ueng1", "ueng2", "ueng3", "ueng4", "ueng5", "uo1", "uo2", "uo3", "uo4", "uo5", "v1", "v2", "v3", "v4", "v5", "van1", "van2", "van3", "van4", "van5", "ve1", "ve2", "ve3", "ve4", "ve5", "vn1", "vn2", "vn3", "vn4", "vn5"]
}
你发的日志是正在下载DEBERTA_V3_LARGE了,你访问的是下载的链接,正常访问的页面应该是https://huggingface.co/microsoft/deberta-v3-large/tree/main
但是 https://huggingface.co/jackyqs/vits-aishell3-175-chinese/tree/main 这个模型是不需要DEBERTA_V3_LARGE的,所以你是在加载Bert-VITS2的模型吗?
如果还是Model loading failed!
,要把日志发出来才能知道哪里除了问题。
从日志上看确实是爆显存了
运行环境
问题描述
问题复现步骤
模型使用的是 https://huggingface.co/jackyqs/vits-aishell3-175-chinese/tree/main 这个模型
不知道哪里出问题了