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

Incorrect COCO Keypoints Export: Annotations from Previous Image Persist #791

Open
1 of 2 tasks
cf2xh123 opened this issue Jan 12, 2025 · 1 comment
Open
1 of 2 tasks
Labels
bug Something isn't working Fixed

Comments

@cf2xh123
Copy link

Search before asking

  • I have searched the X-AnyLabeling issues and found no similar bug report.

X-AnyLabeling Component

No response

Bug

我在使用COCO关键点标注导出时发现导出的json文件包含上一张图片的标注标注,比如说上张图片的标注有4个物体分别为12,3,4的关键点,如果下一张图片只有1个物体受到了关键点标注,例如5,那么使用COCO关键点格式导出之后下一张图片的标注会仍然存在4个标注,分别是5,2,3,4.单个标注文件检查过了,并没有2,3,4,只有在所有标注全部导出至一个COCO关键点的json文件时会出现这种情况,我使用相同的配置文件导出YOLO关键点标注却不会出现这样的问题。
使用YOLO关键点导出的情况:
4
5
6
使用COCO点导出的情况:
1
2
3

Information

Application Information:
{'App name': 'X-AnyLabeling', 'App version': '2.5.2', 'Device': 'CPU'}

System Information:
{'CPU': 'Intel64 Family 6 Model 154 Stepping 3, GenuineIntel',
'CUDA': 'V12.2.140',
'GPU': '0, NVIDIA GeForce RTX 3070 Ti Laptop GPU, 8192',
'Operating System': 'Windows-10-10.0.22631-SP0',
'Python Version': '3.9.13'}

Package Information:
{'ONNX Runtime GPU Version': '1.19.2',
'ONNX Runtime Version': '1.19.2',
'ONNX Version': '1.16.1',
'OpenCV Contrib Python Headless Version': '4.10.0.84',
'PyQt5 Version': '5.15.7'}

Link to a Reproducible Demonstration Video

Execution Mode

Source Code

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@cf2xh123 cf2xh123 added the bug Something isn't working label Jan 12, 2025
CVHub520 added a commit that referenced this issue Jan 12, 2025
@CVHub520
Copy link
Owner

Hi @cf2xh123: The bug you reported concerning the COCO keypoint export, where annotations from the preceding image were incorrectly included in the subsequent image's output, has been resolved in version 2.5.3.

We encourage you to update to the latest release (v2.5.3) and verify the fix. We are very grateful for your detailed bug report and contributions to improving the software. Please do not hesitate to contact us if you experience any further difficulties. 😄

Happy labeling! 🚀

@CVHub520 CVHub520 added the Fixed label Jan 12, 2025
@CVHub520 CVHub520 changed the title 关于COCO关键点导出会出现标注不属于这张图而属于上一张图片的BUG Incorrect COCO Keypoints Export: Annotations from Previous Image Persist Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed
Projects
None yet
Development

No branches or pull requests

2 participants