Closed v3ucn closed 1 year ago
检查bert模型下了吗
刚刚下好了,但是开始报这个错了:
D:\work\vits-simple-api>python app.py DEBUG:tzlocal:Looking up time zone info from registry INFO:apscheduler.scheduler:Scheduler started INFO:vits-simple-api:Loading chinese-roberta-wwm-ext-large... Some weights of the model checkpoint at D:\work\vits-simple-api/bert_vits2/bert/chinese-roberta-wwm-ext-large were not used when initializing BertForMaskedLM: ['bert.pooler.dense.weight', 'bert.pooler.dense.bias', 'cls.seq_relationship.weight', 'cls.seq_relationship.bias']
可以了,貌似时1.1的模型和1.0模型不通用导致的,感谢。
File "E:\work\vits-simple-api\bert_vits2\text\chinese_bert.py", line 35, in get_bert_feature res = model(**inputs, output_hidden_states=True) NameError: name 'model' is not defined