Senta icon indicating copy to clipboard operation
Senta copied to clipboard

UnicodeDecodeError: 'gbk' codec can't decode byte 0x8c in position

Open westillhavetoday opened this issue 5 years ago • 2 comments

情感分析模型初始化的时候遇到了这个问题,这是啥意思? image

westillhavetoday avatar Sep 09 '20 03:09 westillhavetoday

image

westillhavetoday avatar Sep 09 '20 03:09 westillhavetoday

有人给出解决办法了:#27 #31。 改一下报错文件第30行:

file_vocab = open(self.vocab_path,encoding='utf-8')

wangqi060934 avatar Sep 15 '20 10:09 wangqi060934