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

[Bug] The 'ValueError: Unknown internal frame' error at dump annotations. #2827

Closed
2 tasks done
DmitriyOparin opened this issue Feb 17, 2021 · 1 comment · Fixed by #2890
Closed
2 tasks done

[Bug] The 'ValueError: Unknown internal frame' error at dump annotations. #2827

DmitriyOparin opened this issue Feb 17, 2021 · 1 comment · Fixed by #2890
Assignees
Labels
bug Something isn't working

Comments

@DmitriyOparin
Copy link
Contributor

DmitriyOparin commented Feb 17, 2021

My actions before raising this issue

Expected Behaviour

Annotations was downloaded.
Error message is not present.

Current Behaviour

Annotations was not downloaded.
The 'ValueError: Unknown internal frame' error message is present.

Possible Solution

Fix the bug.

Steps to Reproduce (for bugs)

  1. Create task with parametrs:
    • select 10 images
    • set Overlap size = 3
    • set Segment size = 6
  2. Create rectangle (track) annotation in penultimate job
  3. Dump CVAT for images 1.1 annotations

Context

Your Environment

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

Traceback (most recent call last):
File "/home/diman/.local/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
rv = job.perform()
File "/home/diman/.local/lib/python3.8/site-packages/rq/job.py", line 684, in perform
self._result = self._execute()
File "/home/diman/.local/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File "/home/diman/git/cvat/cvat/apps/dataset_manager/views.py", line 87, in export_task_annotations
return export_task(task_id, dst_format, server_url=server_url, save_images=False)
File "/home/diman/git/cvat/cvat/apps/dataset_manager/views.py", line 61, in export_task
task.export_task(task_id, temp_file, dst_format,
File "/home/diman/git/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/diman/git/cvat/cvat/apps/dataset_manager/task.py", line 631, in export
exporter(dst_file, task_data, **options)
File "/home/diman/git/cvat/cvat/apps/dataset_manager/formats/registry.py", line 37, in call
f_or_cls(*args, **kwargs)
File "/home/diman/git/cvat/cvat/apps/dataset_manager/formats/cvat.py", line 559, in _export_images
_export(dst_file, task_data,
File "/home/diman/git/cvat/cvat/apps/dataset_manager/formats/cvat.py", line 531, in _export
anno_callback(f, task_data)
File "/home/diman/git/cvat/cvat/apps/dataset_manager/formats/cvat.py", line 179, in dump_as_cvat_annotation
for frame_annotation in annotations.group_by_frame(include_empty=True):
File "/home/diman/git/cvat/cvat/apps/dataset_manager/bindings.py", line 273, in group_by_frame
exported_shape = self._export_tracked_shape(shape)
File "/home/diman/git/cvat/cvat/apps/dataset_manager/bindings.py", line 211, in _export_tracked_shape
frame=self.abs_frame_id(shape["frame"]),
File "/home/diman/git/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

image_2021_02_17T15_43_41_527Z

Next steps

You may join our Gitter channel for community support.

@azhavoro azhavoro added the bug Something isn't working label Feb 18, 2021
@nmanovic nmanovic assigned zhiltsov-max and unassigned Marishka17 Feb 24, 2021
@nmanovic nmanovic added this to the 1.3.0-beta milestone Feb 24, 2021
@nmanovic
Copy link
Contributor

@zhiltsov-max , could you please look at the issue?

@zhiltsov-max zhiltsov-max mentioned this issue Mar 1, 2021
8 tasks
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

Successfully merging a pull request may close this issue.

5 participants