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

运行报错 #1

Open
ccc0917 opened this issue May 16, 2023 · 6 comments
Open

运行报错 #1

ccc0917 opened this issue May 16, 2023 · 6 comments

Comments

@ccc0917
Copy link

ccc0917 commented May 16, 2023

UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 4: illegal multibyte sequence 为什么我运行的时候都会出现这个报错呢?这个要怎么解决呢

@taishan1994
Copy link
Owner

UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 4: illegal multibyte sequence 为什么我运行的时候都会出现这个报错呢?这个要怎么解决呢

报错的地方改为:with open(xxx, "r", encoding="utf-8")

@ccc0917
Copy link
Author

ccc0917 commented May 16, 2023 via email

@qianiqan1110
Copy link

请问原始数据是用什么方式处理的呀

@qianiqan1110
Copy link

是使用软件进行标注吗,比如daccano

@taishan1994
Copy link
Owner

是使用软件进行标注吗,比如daccano

使用的是现有的数据集,按照输入处理成这种格式就好。

@qianiqan1110
Copy link

请问如果想要评论转换成您的文件Train_merge格式,有什么便捷处理方法吗。困扰了很久,希望得到您的回答,谢谢~

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

3 participants