yolov5报错UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 384: invalid continuation by
时间: 2023-08-28 14:20:48 浏览: 148
引用、、 [2]
3. 如果上述解决方法都不起作用,可以尝试使用更专业的文本处理工具,如chardet库,它可以自动检测文件的编码,并提供最佳的解码选项。
需要注意的是,如果你在使用非utf-8编码时解码成功了,但是出现了乱码或其他问题,可能意味着你的数据本身存在问题,需要进一步检查和处理。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xd5 in position 337: invalid continuation ...](https://blog.csdn.net/qq_15969343/article/details/126452894)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd5 in position 0: invalid continuation byte](https://blog.csdn.net/qq_45860901/article/details/127309510)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文