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

pycocotools无法读取生成的coco格式标注文件 #59

Open
liuyijian opened this issue Oct 27, 2021 · 2 comments
Open

pycocotools无法读取生成的coco格式标注文件 #59

liuyijian opened this issue Oct 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@liuyijian
Copy link

bug描述
eiseg2coco.py 生成coco格式标注文件时,没有进行iscrowd字段的生成,导致pycocotools读取错误

截屏
File "/home/lisiyu/anaconda3/lib/python3.8/site-packages/pycocotools/cocoeval.py", line 188, in
iscrowd = [int(o['iscrowd']) for o in gt]

@liuyijian liuyijian added the bug Something isn't working label Oct 27, 2021
@linhandev
Copy link
Member

收到,我们这边尝试一下

@linhandev
Copy link
Member

您好,我这边试了一下,eiseg2coco.py 这个脚本生成的coco标签应该是有iscrowd字段的,不知道您这边是因为什么遇到了这个问题。
可能可以尝试重新拉一下最新版的代码试一下。如果问题继续复现您这方便的话希望能提供一个简单的能复现问题的数据集。我这边用自己找的数据尝试没发现有问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants