Comments (10)
您好,这个是文件编码问题,网上有很多参考解决方案,例如这个,可以自行搜索下。
from x-anylabeling.
您好,这个是文件编码问题,网上有很多参考解决方案,例如这个,可以自行搜索下。
确认JSON文件是utf8编码,PY文件也是utf8编码,with open 时也指定utf8。
如果指定utf8,则会报 0xff开头错误。
from x-anylabeling.
您好,@kwanxian ,如果方便的话可以提供下你的图片和JSON文件打包发我下。
from x-anylabeling.
这个问题解决了吗?我也遇到了同样的问题
from x-anylabeling.
File "D:\DeveFolder\X-AnyLabeling\tools\label_converter.py", line 251, in custom_to_coco
data = json.load(f)
File "C:\Program Files\Python310\lib\json_init_.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 0: illegal multibyte sequence
如果把250行处的with open,加上encoding='utf-8',提示又变成:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
说明也不对?
from x-anylabeling.
您好,@seejah ,可以提供下相关文件打包给我下吗,这边复现下。
from x-anylabeling.
from x-anylabeling.
您好,@seejah ,可以提供下相关文件打包给我下吗,这边复现下。
邮件已发送,期待好消息!
from x-anylabeling.
您好,@seejah ,可以提供下相关文件打包给我下吗,这边复现下。
邮件已发送,期待好消息!
您好,可以发送到指定邮箱:[email protected]
from x-anylabeling.
@kwanxian @seejah 您好,bug 已修复,请更新代码重新转换,有问题欢迎随时反馈。
from x-anylabeling.
Related Issues (20)
- yolov8_pose骨骼点越界 HOT 3
- Visualisation Oriented Bounding Box HOT 3
- Automate annotation with XAnylabeling tool HOT 2
- yolov6人脸模型只出现了人脸关键点没有出现人脸框 HOT 1
- 在linux上运行yolov8_pose模型标注时缺失人体框 HOT 5
- 你好,请问如果想选择基于SAM的图像检测框的自动标注,最好下载哪个预训练模型呢,后面又该如何导出YOLO类型的标注数据呢,谢谢!
- No keyboard shortcuts for +Point, -Point etc. HOT 1
- masks = self.crop_mask_np(masks, downsampled_bboxes) ? HOT 1
- 自助导出的rtdetr_r50vd_6x_coco.onnx模型无法使用 HOT 1
- Error in predict_shapes: list index out of range HOT 1
- For customized model annotation HOT 1
- ,运行发现这个错误,怎么解决呢 HOT 3
- 'YOLOv7' object has no attribute 'task' HOT 1
- YOLO格式标注导入 HOT 2
- 关于3d标注 HOT 1
- Some idea to improve ease of use HOT 3
- Automation with XAnylabeling tool HOT 4
- windows cmd打包程序方法 分享 HOT 1
- edge_sam model download error with 404 HOT 1
- 自定义标签设置 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x-anylabeling.