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

Related images are not included when exporting 3D datasets #7375

Closed
2 tasks done
SpecLad opened this issue Jan 19, 2024 · 1 comment · Fixed by #7125
Closed
2 tasks done

Related images are not included when exporting 3D datasets #7375

SpecLad opened this issue Jan 19, 2024 · 1 comment · Fixed by #7125
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@SpecLad
Copy link
Contributor

SpecLad commented Jan 19, 2024

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Create a task from the cvat/apps/engine/tests/assets/test_canvas3d.zip archive in the CVAT repository.
  2. Export the task in the Datumaro 3D format.
  3. Observe that the related images are missing from the resulting archive.

Expected Behavior

Related images should be included in the export result.

Possible Solution

Most likely, the problem is here:

https://github.com/opencv/cvat/blob/a5669aa1ba81c335693383015b65884794685a0d/cvat/apps/dataset_manager/bindings.py#L1462

and here:

https://github.com/opencv/cvat/blob/a5669aa1ba81c335693383015b65884794685a0d/cvat/apps/dataset_manager/bindings.py#L1582

Datumaro doesn't use the related_images parameter if the media parameter is specified. Instead of media=PointCloud(dm_image[0]), related_images=dm_image[1], it should say media=PointCloud(dm_image[0], extra_images=dm_image[1]).

Context

No response

Environment

Reproducible on app.cvat.ai.
@SpecLad SpecLad added the bug Something isn't working label Jan 19, 2024
@zhiltsov-max zhiltsov-max added the good first issue Good for newcomers label Mar 19, 2024
@bargav25
Copy link

I am interested in this issue. Can you please assign it to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants