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

Could not upload annotation for the task Error: Request failed with status code 500. "KeyError: 53\n". #2095

Closed
creativesiva opened this issue Aug 27, 2020 · 0 comments

Comments

@creativesiva
Copy link

creativesiva commented Aug 27, 2020

I did very much similar to the below mentioned process and getting error while uploading the annotations back to task

  1. I uploaded one picture from server, and created an annotation with shape "box". Then I saved the work, and dumped the annotation to my local drive.

  2. I opened the dumped json file, and removed all values inside the "segmentation" within "annotation", and saved this file.

  3. I uploaded the modified annotation to the same project, and then it gave an error, without any message, only a "ok" button.

  4. Then I try to save the work, however, it does not allow me to save it, and gave the 500 error message like following:
    image

  5. Then I click the go back button from browser, and went back the the dashboard, and click "delete task", then it shows me the following error message:
    image

The modifed coco file is attached for your convenience, I changed the format to txt so I can upload it here.
14_realdemo000000.txt

For the second question, we already generated some annotations with our own algorithm in COCO format, since we are not using any masks or polygon, we have only bbox, and no segmentation is needed for this project.

For the last one, the only thing I can think of now, is to remove the constraint on segmentation,
so when we don't need it, we can leave it blank.

Thank you.

Originally posted by @ttppss in #768 (comment)

@creativesiva creativesiva changed the title Hi @nmanovic , here are the steps I took to get this error. Could not upload annotation for the task Error: Request failed with status code 500. "KeyError: 53\n". Aug 27, 2020
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