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

Cannot upload annotations to large task (due to segments?) #168

Closed
4sfaloth opened this issue Oct 30, 2018 · 3 comments
Closed

Cannot upload annotations to large task (due to segments?) #168

4sfaloth opened this issue Oct 30, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@4sfaloth
Copy link

I have a large annotation task (20k images).
I previously had it configured without segments (1-job only) and was successfully able to upload and dump annotations' to it.
For convenience, I've deleted that task and created a new one, exactly the same except that I divided it into 200-images segments. For this new task, I am unable to upload annotations (even if I try to upload the annotations dumped from the task itself!). It always hangs on "Annotation is being saved" for a while, and then gives a gateway timeout error.

Complete error message is:
"
Annotation uploading errors was occured.

<title>504 Gateway Timeout</title>

Gateway Timeout

The gateway did not receive a timely response from the upstream server or application.

"

I've tried uploading both from the same maching the server is running on and from an external machine, same result.

@4sfaloth
Copy link
Author

Ok, this is interesting. I have just found out that apparently the upload succeeded; I mean, if I open the jobs the images are actually annotated according to the uploaded .xml file (just checked some of the first and the last images, and am assuming the rest is fine as well). However, I still get the error above everytime I try to upload annotations (though apparently it succeeds)

@nmanovic nmanovic added the bug Something isn't working label Oct 30, 2018
@nmanovic
Copy link
Contributor

Our upload operation is synchronous and it is the reason of the problem. Also uploading for 200 segments should take too much time. Need to investigate and improve implementation.

@nmanovic
Copy link
Contributor

It should be fixed. Could you please check for your case? #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants