Bert-Chinese-Text-Classification-Pytorch icon indicating copy to clipboard operation
Bert-Chinese-Text-Classification-Pytorch copied to clipboard

unable to parse D:/Bert-Chinese-Text-Classification-Pytorch\bert as a URL or as a local path

Open cfy42584125 opened this issue 4 years ago • 2 comments

image 写了一个预测的句子,跑的时候在cached_path这个类里面报错

cfy42584125 avatar Jun 10 '21 07:06 cfy42584125

解决了吗

BGMYE avatar Apr 22 '22 13:04 BGMYE

预测代码中的一行改成这样: self.bert_path = os.path.join(cru, 'bert_pretrain'),它这是找不到路径

xuanxuanxuanxuan avatar Apr 29 '24 06:04 xuanxuanxuanxuan