-
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
Random http 400 error code #190
Comments
Hi @rhlr , It seems that you annotate the same job in different tabs at the same time. It is the main reason for the problem: Does it answer your question? |
Yes, it indeed looked like the same issue as you have mentioned. We had multiple annotators working on the same job (on different frames), due to which we were getting the above exception. It would also be better if there's a way to get the activity of each user, like which user has annotated a particular image and who has last updated like this. Thanks again for the awesome project. |
You can split one task on multiple segments. Thus you will have multiple jobs per one task with different frames. Please look at "segment size" and "overlap size" in the section of documentation. Thanks for your feedback. I will close the issue. Instead I have created another one (#191). |
* Validator threshold adjustment + style correction Co-authored-by: Maxim Zhiltsov <[email protected]>
* bugfix - ignore subsets of near-zero-ratio (cvat-ai#187) * Ignore subsets of near-zero-ratio in splitter Co-authored-by: Maxim Zhiltsov <[email protected]> * Fix validator imbalance threshold (cvat-ai#190) * Validator threshold adjustment + style correction Co-authored-by: Maxim Zhiltsov <[email protected]> * Allow undeclared label attributes on CVAT format (cvat-ai#192) * Add saving and parsing of attributes in label categories in Datumaro format * Support common label attributes in CVAT format, add an option to ignore undeclared attributes * Add logging for parsed parameters in plugins * update changelog * Fix export of masks with holes (cvat-ai#188) * Fix export of masks with holes in polygons (background class should not introduce a new instance) * update changelog * Format fixes in COCO and VOC (cvat-ai#195) * Allow splitting and merging of image directories in COCO export * Avoid producing conflicting attributes in VOC segmentation Co-authored-by: Jihyeon Yi <[email protected]>
Thank you for the project. I have been trying to use the tool using docker-compose. All is working fine but I get random
HTTP 400
errors with the following message:Impossible to save job. Errors was occured. Status: 400 Please immediately report the problem to support team
Can you tell me what is the issue ?
This is the stacktrace:
[2018-11-09 09:39:42,745] ERROR cvat.server.task_2: cannot save annotation for job 2 cvat | 2018-11-09T09:39:42.746731155Z [Fri Nov 09 09:39:42.746229 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] Traceback (most recent call last): cvat | 2018-11-09T09:39:42.746742073Z [Fri Nov 09 09:39:42.746233 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] File "/home/django/cvat/apps/engine/views.py", line 252, in save_annotation_for_job cvat | 2018-11-09T09:39:42.746753556Z [Fri Nov 09 09:39:42.746237 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] annotation.save_job(jid, json.loads(data['annotation'])) cvat | 2018-11-09T09:39:42.746764578Z [Fri Nov 09 09:39:42.746239 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] File "/usr/lib/python3.5/contextlib.py", line 30, in inner cvat | 2018-11-09T09:39:42.746775520Z [Fri Nov 09 09:39:42.746242 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] return func(*args, **kwds) cvat | 2018-11-09T09:39:42.746785613Z [Fri Nov 09 09:39:42.746244 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] File "/home/django/cvat/apps/engine/annotation.py", line 83, in save_job cvat | 2018-11-09T09:39:42.746796494Z [Fri Nov 09 09:39:42.746246 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] annotation.validate_data_from_client(data) cvat | 2018-11-09T09:39:42.746806582Z [Fri Nov 09 09:39:42.746249 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] File "/home/django/cvat/apps/engine/annotation.py", line 1433, in validate_data_from_client cvat | 2018-11-09T09:39:42.746817340Z [Fri Nov 09 09:39:42.746251 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] raise Exception('Trying to create new shape(s) with existing client id {}'.format(tmp_res)) cvat | 2018-11-09T09:39:42.746827990Z [Fri Nov 09 09:39:42.746256 2018] [wsgi:error] [pid 102:tid 140093292656384] [remote 157.35.228.56:34398] Exception: Trying to create new shape(s) with existing client id {1041, 1042, 1043, 1044}
The text was updated successfully, but these errors were encountered: