我的txt文件打开是不乱码的,为啥精灵标注打开就有些中文乱码有些不乱码呢,该如何解决呢。
精灵标注助手支持的格式为XML,JSON以及MongoDB
XML如下:
<doc>
<path>C:\Users\Tony\Pictures\2023_06_06_090858\1.png</path>
<outputs>
<object>
<item>
<name>猫</name>
</item>
</object>
</outputs>
<time_labeled>1686579200072</time_labeled>
<labeled>true</labeled>
<size>
<width>518</width>
<height>571</height>
<depth>3</depth>
</size>
</doc>
JSON如下:
{"path":"C:\\Users\\Tony\\Pictures\\2023_06_06_090858\\1.png","outputs":{"object":[{"name":"猫"}]},"time_labeled":1686579200072,"labeled":true,"size":{"width":518,"height":571,"depth":3}}
Sorry,自然语言处理里面有文本格式。
可以使用另存为编码为UTF8等各种编码试下是什么原因,我这边使用ASNI和其他编码都可以正确识别中文