-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Matching CVAT task/job with dumped data #3337
Comments
In most formats, the dumped files have the same names as they had in the source CVAT task. Which formats did you export task to? You can find image names in the annotation window of the CVAT task. CVAT only allows to navigate to a specific frame index. If you want to get image index in CVAT, you can do one of: Please, describe, what you want to do more precise, so I could help you better. @bsekachev, adding navigation by image names could be useful. |
Speaking about the database, you can see a mapping there if you have an access to it. docker exec -it cvat_db /bin/bash
/usr/local/bin/createuser -s postgres # if you get error that postgres role does not exist.
psql cvat --user postgres For the task with ID 9: SELECT engine_image.frame, engine_image.path from engine_task INNER JOIN engine_data on engine_task.data_id=engine_data.id INNER JOIN engine_image on engine_image.data_id = engine_data.id where engine_task.id=9; |
From the UI point of view, I would suggest adding a feature to search a frame number by its name. Would it be a convenient solution for users in your opinion? |
Hi @zhiltsov-max and @bsekachev. Thank you for your answers. I will try to give a clear example. Suppose I have a full path to the file like "FULL/PATH/image.jpg". And I even know the task name / id where is it (but maybe not). How can I find the job id and frame id for this image in CVAT? It would be useful if I had info like the following:
Is there a possibility to get it from CVAT? I need this in case when I do some operations with annotations (using Semantic mask 1.1 e.g.) and then I need to fix the concrete image's annotation. UPDATEI've tried the following command in
Am I right that
|
It is strange because in the task with 35 jobs I have But nevertheless seems that this is realy what I need. Thank you very much for your help. |
I would find it useful if when I exported annotations I could get a list of the image name (the file path) and the image number (2) in the example image I tried to upload. So if I have someone annotating images and there are some with issues I can have her record the number of the image with the issue and I can exclude it from my dataset. |
@mikeyEcology this is in the engine_image table.
|
Try this: create view task_job_frame |
@avengersassemble @MattWittbrodt Is there any way to get the above information using cvat-cli or api? I have a single task which is divided into multiple non-overlapping jobs. Annotators have not done certain jobs and in those jobs that they have finished, there are some corrupt images (no annotations). I want to distinguish the images which are corrupt and the ones which have not been annotated yet. I do not have access to cvat-db and looking for a solution using api/cli. Can anyone help? |
Hi, please check if the |
My actions before raising this issue
Is there any option to match dumped data (ImageNet or Semantic Segmentation dump e.g.) with the same data in CVAT's task -> job -> id?
Where can I get written information about images names in concrete task/job? Maybe DB or any table?
Context
After some automatical operations with annotations (getting metrics for 1.000+ images e.g.) I want to know where should I fix the wrong annotation in CVAT.
Your Environment
git log -1
):docker version
(e.g. Docker 17.0.05): 20.10.05Nope
The text was updated successfully, but these errors were encountered: