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

Question: Images without instance segmentation #54

Open
kimalaacer opened this issue Dec 18, 2020 · 0 comments
Open

Question: Images without instance segmentation #54

kimalaacer opened this issue Dec 18, 2020 · 0 comments

Comments

@kimalaacer
Copy link

custom dataset with single class:
for images without annotations, should we give them an annotation id and leave all fields empty (see below) or just stop incrementing the annotation ids(skip image_id) if there is no annotation?:
{
"info": { },
"licenses": [{ }],
"categories": [{ }],
"images": [
{
"id": 1,
"file_name": "1.png","width": 640,"height": 640,"date_captured": "2020-11-23 20:27:52.616640","license": 1,"coco_url": "","flickr_url": ""},
{
"id": 30,"file_name": "9.png","width": 640,"height": 640,"date_captured": "2020-11-23 20:27:52.616640","license": 1,"coco_url": "",
"flickr_url": ""}],
"annotations": [{"id": 1,"image_id": 1,"category_id": 1,"iscrowd": 0,"area": 113,"bbox": [582.0,352.0,11.0,15.0],
"segmentation": [[ 592.0, ......]],"width": 640,"height": 640},
{
"id": 2,"image_id": 30,"category_id": ,"iscrowd": 0,"area": 0,"bbox": [ ],"segmentation": [[ ]],"width": 640,"height": 640},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant