问题
在win10中直接安装labelme(pip install labelme),然后运行labelme,结果报错:UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xaf in position 227: illegal multibyte sequence.
第一眼就感觉是编码问题,于是在github上面下载源码,准备在本地运行、调试,下载下来后,果然也报这个错误,下面是报错信息。
[INFO ] __init__:get_config:71 - Loading config file from:C:\Users\xxx\.labelmerc
Traceback (most recent call last):
File .... line 191, in <module>
main()
File ...., line 145,<

本文介绍在使用LabelMe时遇到的配置文件编码错误,并提供详细的解决方案,通过修改文件读取方式为UTF-8编码来避免错误。
最低0.47元/天 解锁文章
1746

被折叠的 条评论
为什么被折叠?



