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: 'utf-8' codec can't decode byte 0xbb in position 70: invalid start byte #15

Open
hagrid-105 opened this issue Dec 11, 2022 · 2 comments

Comments

@hagrid-105
Copy link

程序报错,大佬求更新:用的win10,之前需要跑yolo就改了utf-8,现在运行不了了,求问有什么方法可以修改代码然后运行的么?

@jtl1207
Copy link
Owner

jtl1207 commented Dec 11, 2022

这是一个符号报错,如果是字符串可以试试encoding=""
是不是路径有中文符号?

yolo应该不需要让win10用utf8的

@jtl1207
Copy link
Owner

jtl1207 commented Dec 11, 2022

也可以试试使用合适的编码注释

-- coding: 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