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

Request for Information - Add images to local CVAT instance to an existing task or a new task, #3405

Closed
2 tasks done
sammed-ai opened this issue Jul 9, 2021 · 2 comments
Closed
2 tasks done
Labels
question Further information is requested

Comments

@sammed-ai
Copy link

sammed-ai commented Jul 9, 2021

My actions before raising this issue

A user wishes to upload a batch of images to my local CVAT platform. I am looking for an API endpoint which will allow the user to upload images to an existing task with an existing Job. Is this possible?
Or do I have to create a new task? But creation of new task API only creates a new task without anyway to create a job within the task and add images. I am stuck in a loop.

Are there a set of API endpoints that I can use so that the user can upload image via the endpoints to my CVAT platform? I do not care if it leads to creation of a new task or a new job. I need to the images to just upload to my CVAT platform.

As far as I know using the UI, once a task is created I cannot create a job within the task and once a task and job are crated I cannot add images to the existing job. So, how do I create a new task, a new Job and add images/videos to the job in one go?

Since this is a request for information the following questions do not require any answers.

Expected Behaviour

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Git hash commit (git log -1):
  • Docker version docker version (e.g. Docker 17.0.05):
  • Are you using Docker Swarm or Kubernetes?
  • Operating System and version (e.g. Linux, Windows, MacOS):
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Next steps

You may join our Gitter channel for community support.

@bsekachev
Copy link
Member

bsekachev commented Jul 19, 2021

user to upload images to an existing task with an existing Job. Is this possible?

Generally, it is not possible. Please, refer to the original issue #95.

You can add images/video to a created task only once. Depending on this request a set of jobs is created within the task.
Refer to API specification (localhost:8080/api/swagger) for details
Screenshot from 2021-07-19 11-37-47

@bsekachev bsekachev added the question Further information is requested label Jul 19, 2021
@bsekachev
Copy link
Member

I will close the issue, because there is not a response from your side. Do not hesitate to reopen it if you still have questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants