Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
westillhavetoday opened this issue Sep 9, 2020 · 2 comments

Comments

@westillhavetoday
Copy link

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

@westillhavetoday
Copy link
Author

image

@wangqi060934
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants