question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect information in documentation and/or unexpected cli behavior on export

See original GitHub issue

My actions before raising this issue

  • Read/searched the docs
  • Searched past issues

I’m going to say this is connected to #4119 and #4056 and @TOsmanov and @AetherBreeze

When using command

python3 cli.py export --format "COCO 1.0" 267

I get the error

usage: cli.py export [-h] task_id filename
cli.py export: error: argument task_id: invalid int value: 'COCO 1.0'

even through the Documetnation says:

cli.py export --format "COCO 1.0" 136

There also seems to be no way to export without images?

Expected Behaviour

Expect the documentation to be correct Export without image to be possible

Current Behaviour

Documentation is wrong –format seems to be broken from my testing Export without image is not possible

Possible Solution

export through web interface enables you to do all of the above

Your Environment

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

Next steps

You may join our Gitter channel for community support.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TOsmanovcommented, Jan 27, 2022

Hi @mrKallah,

There is an mistake in the documentation. You can export task annotation without images using cli.py dump:

python3 cli.py dump --format "COCO 1.0" 267 annotation.tar
0reactions
TOsmanovcommented, Jan 31, 2022

On second thought, maybe its zip because I am using YOLO and not COCO? If so maybe a list for the different ones?

@mrKallah You’re right, downloading the annotation must be in zip format, this is also relevant for the format CVAT 1.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing support for 'include' parameter in query to ... - GitHub
Currently, I can't find any way to export linked entries using the CLI without explicitly declaring every entry ID. Expected Behavior. "include=10" as...
Read more >
4.9.4. Visualization export command - 3dcitydb-docs
The export-vis command exports top-level city objects from the 3D City Database in ... version of the tool as this might result in...
Read more >
Tumult Hype Documentation
Behaviors ; Editable additional HTML attributes (like data-*); Exports ProRes video, APNG, and OAM widgets; Video export bitrate option; Vector shape morph ...
Read more >
User Configuration Import, Export, and Show - CLI
When you import the configuration from another installation (same or different version), the encrypted fields may not work. You must update the ...
Read more >
Import and export from the command-line - Access to Memory
Use the --source-name option (described in the CSV import documentation here) to specify a source when importing information objects from multiple sources (with ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found