-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Not able to upload annotation file against a task #5781
Comments
Sorry for tagging you directly @zhiltsov-max. But will you be able to please help here? |
Hi. This endpoint requires the data to be uploaded via the TUS protocol. Please use a specialized library for this, as the official CVAT UI and SDK do this. For javascript, it can be this library. If you can use python, consider using cvat-sdk. You can also use cvat-cli to upload annotations without coding. |
Similar issue here with Python SDK here. I have two CVAT instances, one on local machine, another on remote. Task creation on local machine works fine, but on remote I getting exception when I try to create task with annotations.
My code:
What I'm doing wrong? Why on local it works but not on remote? |
My actions before raising this issue
Hi, I am trying to upload annotation file through an API against a task. But while uploading I am getting following error.
I have also checked the logs. But don't see any errors there.
Here's my code:
And here's the content of the XML file that I am trying to upload.
But when I am uploading the same annotations.xml file through CVAT UI it works.
Your Environment
git log -1
): 86a0d51docker version
(e.g. Docker 17.0.05): 20.10.22The text was updated successfully, but these errors were encountered: