Wrong Annotation Per Category using COCO Json
See original GitHub issueHello
I finish to annotate a tiny dataset. This dataset has 4 classes. I dump the annotations as a MS-COCO json format.
Using pycocotools
I ask to access the annotations related to 1 of the 4 classes.
What I got does not correspond to what I ask, In the annotations returned I got annotations that does cover other annotations as well as the one I asked.
I used pycocotools
before with different dataset without issues.
----Edit---- I pushed further my investigations… the whole convertion is wrong. I labeled 200 images only, the number of images id is right but the only image that as been converted is the first one and that for each classe.
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (12 by maintainers)
Top Results From Across the Web
Wrong "-1 background" annotations loaded from Custom ...
I'm working using Mmdetection to train a Deformable DETR model using a custom COCO Dataset. Meaning a Custom Dataset using the COCO format...
Read more >How to work with object detection datasets in COCO format
Case 1: I have annotated data If your data is not stored in a supported format, then it is still easy to load...
Read more >Create COCO Annotations From Scratch - Immersive Limit
This tutorial will teach you how to create a simple COCO-like dataset from scratch. It gives example code and example JSON annotations.
Read more >2: Train with customized datasets
The annotation is a JSON file where each key indicates an image's all annotations. The code to convert the balloon dataset into coco...
Read more >COCO Export Missing Category IDs Even with Dropdown ...
Go to Annotation > Export Annotations (COCO Format), resulting JSON should have same malformed category ids. Specifications. Version: VIA v2.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JSharp4273 Thanks, I’ll take a look.
Hello I made the trial I am talking about in my last post. I observed that when I dump the annotation as MS-COCO JSON the annotations fit with the image. The issue I reported in here does not exist anylonger. I observed another error but minor, I labeled for this trial a set of 200 images but only have 199 image ids in the MS-COCO JSON. However this is another error. Thank you very much for your help.