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

Add xml upload to CLI (Command Line Interface) #781

Closed
lNicolasl opened this issue Oct 17, 2019 · 5 comments
Closed

Add xml upload to CLI (Command Line Interface) #781

lNicolasl opened this issue Oct 17, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request sdk/cli

Comments

@lNicolasl
Copy link

lNicolasl commented Oct 17, 2019

Hi,

This is a feature request for the Command line interface (CLI).
A must should be to add optionnal upload argument to allow annotation upload on task creation :
cli.py create "new task" --labels labels.json **--upload annotation.xml** local file.avi

With this amazing feature, one could, for example, uses this workflow :

  1. translate a public dataset format to annotation.xml
  2. batch the import to cvat through the command line interface

Facilitate public dataset translation to cvat will help massive cvat adoption !

Best regards,

Nicolas

@lNicolasl lNicolasl changed the title Command line interface : feature upload xml annotation file Feature request: Add xml upload to CLI (Command Line Interface) Oct 17, 2019
@bsekachev bsekachev added the enhancement New feature or request label Oct 17, 2019
@nmanovic nmanovic changed the title Feature request: Add xml upload to CLI (Command Line Interface) Add xml upload to CLI (Command Line Interface) Nov 20, 2019
@egrinstein
Copy link
Contributor

Adding the option to upload the annotations with the creation of the task would be great.

@nmanovic nmanovic added this to the Backlog milestone Nov 29, 2019
@ncianeo
Copy link
Contributor

ncianeo commented Dec 15, 2019

#958
I added this option to cli
Usage:

python cli.py upload [-h] [--format FILEFORMAT] task_id filename

FILEFORMAT:
CVAT XML 1.1
PASCAL VOC ZIP 1.0
YOLO ZIP 1.0
COCO JSON 1.0
TFRecord ZIP 1.0

@nmanovic
Copy link
Contributor

Fixed by @ncianeo. Great job!

@lNicolasl
Copy link
Author

Thanks a lot @ncianeo !

@egrinstein
Copy link
Contributor

Great job, @ncianeo !

@SpecLad SpecLad added the sdk/cli label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sdk/cli
Projects
None yet
Development

No branches or pull requests

6 participants