-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Upload COCO JSON Annotation Error and Delete Project Error #768
Comments
Hi @ttppss , thank you very much for the report. It is an unknown issue. Let's investigate it together and fix. I have the following questions:
|
Hi @nmanovic , here are the steps I took to get this error.
The modifed coco file is attached for your convenience, I changed the format to txt so I can upload it here. 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, Thank you. |
Hi @nmanovic I pulled the changes, but I still cannot delete the existing projects, it still shows the same error: Could not delete the task from the server. Request failed with status code 500. " Server Error (500)". Code: 500.May I know how I can delete it completely? Thank you. |
Hi @ttppss Could you please attach output from |
Hi @azhavoro , I'm not sure why, when I try to delete the project, it does not generate new log, so I can only copy the logs from yesterday, I think it contains the delete operation. Please take a look, and let me know if you need additional information. |
@ttppss Could you please make sure that docker images was build with the latest develop branch? For your instance the error occurs in line 266 of models.py (looks like it was built from one of prevous commit without #788 patch https://github.com/opencv/cvat/blob/5733423b13b7d23ac4ce444fab3ecc8af429f95b/cvat/apps/engine/models.py). |
When I exported the annotation in COCO format, save to local, removed the segmentations from the JSON, then upload it to the original project, it shows an error without any content.
Please see part of the COCO JSON I uploaded below:
{ "licenses": [ { "name": "", "id": 0, "url": "" } ], "info": { "contributor": "", "date_created": "2019-10-11", "description": "demo1011001", "url": "", "version": 3, "year": "2019" }, "categories": [ { "id": 1, "name": "\u5176\u5b83", "supercategory": "" }, { "id": 2, "name": "\u708e\u6027\u606f\u8089", "supercategory": "" }, { "id": 3, "name": "\u817a\u7624\u6027\u606f\u8089", "supercategory": "" }, { "id": 4, "name": "\u817a\u764c", "supercategory": "" }, { "id": 5, "name": "\u9519\u6784\u7624\u6027\u606f\u8089", "supercategory": "" } ], "images": [ { "coco_url": "", "date_captured": "", "flickr_url": "", "license": 0, "id": 13, "file_name": "1671.jpg", "height": 719, "width": 838 }, { "coco_url": "", "date_captured": "", "flickr_url": "", "license": 0, "id": 14, "file_name": "184.jpg", "height": 719, "width": 838 } ], "annotations": [ { "category_id": 3, "id": 0, "image_id": 13, "iscrowd": 0, "segmentation": [ [] ], "area": 16942.0, "bbox": [ 558.0, 514.0, 223.0, 110.0 ] }, { "category_id": 1, "id": 1, "image_id": 14, "iscrowd": 0, "segmentation": [ [] ], "area": 24530.0, "bbox": [ 146.0, 146.0, 197.0, 86.0 ] } ] }
This issue looks similar to #699 , but the output error is different.
The only thing I modified from the dumped annotation is the segmentation part, I also switched the bbox for test purpose. The name of categories looks wield is because I'm using non Latin charactors. I'm not sure if this is the issue or not.
And when I check the log with "docker logs cvat", the following are what propmt:
Then I try to save the project, it shows an error as following:
![image](https://user-images.githubusercontent.com/11687807/66685964-eb8b7b80-ec4b-11e9-9394-77aa328c4b15.png)
And here is the log:
And then when I try to delete this project, is shows following error:
![image](https://user-images.githubusercontent.com/11687807/66686044-2a213600-ec4c-11e9-813f-ae1725aca3cf.png)
Please let me know how to fix this issue.
Thanks.
The text was updated successfully, but these errors were encountered: