-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
How to import COCO annotations (bounding boxes) #2806
Comments
You need to do something like this
then the converter prints instructions how to import a converted file to Label Studio. You will get output.json and label config XML file, so you need to Related question: #808 |
Nvm! I've figured it out, it works with the path above, as long as I add that absolute path in the storage settings via UI |
I have added local storage path "/home/anang/images" in the settings and synced the local path to get the images. I am facing issue after importing the output.json file in label studio. The images are not getting imposed with the annotations on importing the output.json, instead I am getting new tasks from output.json resulting in duplicate tasks for the images. Below is the screen shots. Can you please help me on how I can get the images loaded correctly with annotations in label studio |
Hi Anang! From what I remember doing I've done this path:
That done, everything worked as expected |
Hi Gabriel, Thanks for reverting back. I followed these steps. But the issue was it seems with the image path in the output.json file created from label-studio-converter. I modified the path to make it point to the correct images directory path and it is working fine now. |
good job |
Hey, I just imported this output.json to labelstudio, I can see images with annotations, but annotations are grey - not linked to classes ("rectanglelabels"). I have correct labeling interface. I dont know what I did wrong. output.json: |
I had the same problem: for me the issue was that I needed to include the XML as a custom template under "labelling setup" when you create a project. I used label-studio-converter to convert some COCO annotations to label studio JSON. This creates a json file, but also an xml file. Copy and past the contents of the XML in the labelling setup tab. |
My COCO dataset JSON file contains empty list of segmentations...
|
After reading everyone's responses, I have a few small questions, I hope you can help me |
When I type label-studio-converter import coco -i result.json -o output.json |
I have a COCO annotation file for my dataset (generated by my model). I want to refine the predicted bounding boxes. How do I import the coco format json file into the project? I've seen this Label-studio-converter but I don't know how to use it for this case.
The text was updated successfully, but these errors were encountered: