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

Project export #3365

Merged
merged 68 commits into from
Aug 6, 2021
Merged

Project export #3365

merged 68 commits into from
Aug 6, 2021

Conversation

ActiveChooN
Copy link
Contributor

@ActiveChooN ActiveChooN commented Jun 24, 2021

Motivation and context

PR provides the ability to export the project as a dataset or annotation, reworked export menus.

Resolve #2911
Resolve #2678
Related #1278

изображение

TODOs:

  • Fix image exporting in some cases
  • Add support for CVAT formats
  • Add server unit tests
  • Add UI support for exporting project and rework export task dataset menus

How has this been tested?

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@bsekachev bsekachev self-assigned this Jul 1, 2021
@ActiveChooN ActiveChooN marked this pull request as ready for review July 20, 2021 10:54
@gianrubio
Copy link

I just tested the new feature and it worked like a charm. Good job @ActiveChooN

@ActiveChooN
Copy link
Contributor Author

@aschernov, could you update documentation for the task dumping function and add documentation for the project export feature, please?

@dvkruchinin, could you also add tests for the project export function, please?

@dvkruchinin
Copy link
Contributor

could you also add tests for the project export function, please?

Sure. A test will be prepared.

@aschernov
Copy link
Contributor

@ActiveChooN , sure. We'll update the documentation

@jovialio
Copy link

jovialio commented Aug 20, 2021

I just tested the new feature and it worked like a charm. Good job @ActiveChooN

@gianrubio How did you install the new feature. Just recently installed cvat and can't seem to find this feature. Seems like it's in v1.6 and yet to be released? Would love to have the Project exportation feature.

@gianrubio
Copy link

gianrubio commented Aug 20, 2021 via email

@jovialio
Copy link

@gianrubio Got it! Thanks!

@davodogster
Copy link

@aschernov Hi when will project export be avaliable in the non-development version of cvat? I don't know how to install the dev version and I don't want to install it. Cheers, Sam

@bsekachev
Copy link
Member

@davodogster

Unfortunately, I can't say precisely, but the next release may come after 3-4 weeks.
I would emphasize, that the development branch is usually quite stable to real use, so if you need to use some features urgently, using dev might be an option.

@davodogster
Copy link

davodogster commented Aug 24, 2021

@ActiveChooN Ok I'm keen to give the dev version a try. Now, When I do "git clone cvat" - does it clone the master branch?

  1. Do I need to force it to clone the development branch instead of the master branch?
  2. What is the docker-compose.dev.yml file for and do I need to run that in addition to docker-compose.override ??
    Thanks! Sam
  3. If I run docker-compose stop and then clone the development branch, then run docker-compose up -d .. Will I lose all of my annotations and images stored in CVAT ??

@ActiveChooN
Copy link
Contributor Author

Hi, @davodogster.

  • git clone cvat command clones repo with default develop branch.
  • No, develop branch is the default for this repo.
  • docker-compose.dev.yml is used for building a developing version of containers on your own and you should use it as an addition for docker build command.
  • No, you don't lose anything, because data stored in docker volumes.

@davodogster
Copy link

@ActiveChooN @zhiltsov-max Hi I just ran docker compose down cvat, then git cloned cvat using "git clone https://github.com/openvinotoolkit/cvat.git" and I have two problems.

  1. Export project as dataset still does not appear as an option - The only project option is "delete"
  2. It didn't solve this new error I have been getting https://github.com/openvinotoolkit/cvat.git (I tried the manually_migrate.py solution and it didn't work)
    image

I'm using a share folder with 549 large images. The task was successfully created and I can scroll across the images and annotate them, but the errors keep popping up.

Thank you, Sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support exporting of projects as datasets How to download annotations from all tasks at once ?
9 participants