Can't dump annotations with objects type is track from several jobs (annotation is created in all job). #3200
Closed
1 of 2 tasks
Labels
bug
Something isn't working
My actions before raising this issue
Expected Behaviour
Current Behaviour
Can't dump and raise ValueError:
File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/task.py", line 749, in export_task task.export(f, exporter, host=server_url, save_images=save_images) File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/task.py", line 631, in export exporter(dst_file, task_data, **options) File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/formats/registry.py", line 37, in __call__ f_or_cls(*args, **kwargs) File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/formats/cvat.py", line 557, in _export_video anno_callback=dump_as_cvat_interpolation, save_images=save_images) File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/formats/cvat.py", line 533, in _export anno_callback(f, task_data) File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/formats/cvat.py", line 381, in dump_as_cvat_interpolation for track in annotations.tracks: File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/bindings.py", line 311, in tracks for shape in tracked_shapes], File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/bindings.py", line 311, in <listcomp> for shape in tracked_shapes], File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/bindings.py", line 211, in _export_tracked_shape frame=self.abs_frame_id(shape["frame"]), File "/home/maria/Desktop/cvat_orig/cvat/cvat/apps/dataset_manager/bindings.py", line 106, in abs_frame_id raise ValueError("Unknown internal frame id %s" % relative_id) ValueError: Unknown internal frame id 10
It seems that CVAT incorrectly merges job annotations because the task has an annotation with frame 10 and 11 in database after creation of annotations in all jobs.
Possible Solution
Steps to Reproduce (for bugs)
(GET query /api/v1/tasks/1/annotations&format=CVAT for video 1.1)
Context
Your Environment
git log -1
):docker version
(e.g. Docker 17.0.05):Logs from `cvat` container
Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: