-
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
exported categories different from project categories #6871
Comments
It seems likely to be a caching issue, however the problem persists even 4+ days after making the change to the project categories. |
down and up the containers also doesnt seem to fix the problem. |
Hi, I was able to reproduce the problem. As a workaround, please update the task somehow before exporting to make sure the export cache is cleaned. For instance, you can re-save the task annotations. |
Hi, thanks for the reply - yes this is what we've been doing for some years now as a work around. The issue is that at this point there are hundreds and hundreds of tasks that would need to be 'edited' and then re-saved. Is there anything I can do to help track down the cause of the issue? |
If you have lots of tasks in projects, please consider writing a simple script based on the SDK as a temporary workaround.
Thank you, but the cause is pretty clear - CVAT just doesn't store any information to clear the nested object export cache on label updates in the parent entities. I've discovered the same problem for jobs as well. We'll try to find a solution for this problem. |
OK thanks, will do - I was going to ask if just updating a timestamp on the task was enough, but your PR makes that clear. |
Fixes #6871 Added batch update (note - no signals issued on this) for owning and nested objects (tasks, jobs) on parent (task, project) labels updates
thanks! |
Fixes cvat-ai#6871 Added batch update (note - no signals issued on this) for owning and nested objects (tasks, jobs) on parent (task, project) labels updates
My actions before raising this issue
Steps to Reproduce (for bugs)
Expected Behaviour
When exporting a task in coco format the categories in the annotation json should match those of the project, not just those present in the project when the task was last saved.
Current Behaviour
When exporting a task in coco format, the categories present in the annotation json are not in line with those in the project.
The text was updated successfully, but these errors were encountered: